【问题标题】:emacs mouse shift-select from cursor pointemacs 鼠标 shift-select 从光标点
【发布时间】:2018-06-21 20:39:01
【问题描述】:

谁能指出我正确的方向来全局定义用鼠标左键激活移位选择? 我希望能够在光标点和选定区域之间进行选择... 可以只拖选,也可以只用键盘移选。

不幸的是,这不起作用(在 ~/.emacs 中):

(define-key global-map (kbd "<S-down-mouse-1>") 'shift-selection)

机器:Win7,Emacs 版本:2016-09-17 的 25.1.1 (i686-w64-mingw32)

谢谢。

【问题讨论】:

    标签: select emacs mouse


    【解决方案1】:

    (define-key global-map (kbd "&lt;S-down-mouse-1&gt;") 'mouse-save-then-kill)

    https://superuser.com/questions/521223/shift-click-to-extend-marked-region

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2012-09-22
      • 2019-10-21
      • 2017-03-31
      • 2010-11-16
      • 2012-08-20
      • 2012-08-16
      • 2011-04-19
      相关资源
      最近更新 更多