ianlab

普通windows键盘,习惯了Home键是跳到行首,End键是跳到行尾。

修改方法:

Preferences->Key Bindings

在右侧User那边,添加上如下几行配置

{ "keys": ["home"], "command": "move_to", "args": {"to": "bol", "extend": false}},

{ "keys": ["end"], "command": "move_to", "args": {"to": "eol", "extend": false} },

保存后就能生效了

补充:

还可以加上这两行配置,实现按住shift后 配合home end的选中功能

{ "keys": ["shift+home"], "command": "move_to", "args": {"to": "bol", "extend": true}},

{ "keys": ["shift+end"], "command": "move_to", "args": {"to": "eol", "extend": true} },
————————————————

分类:

技术点:

相关文章:

  • 2021-05-18
  • 2021-09-16
  • 2021-12-03
  • 2021-08-06
  • 2021-08-17
  • 2021-12-08
猜你喜欢
  • 2021-06-17
  • 2021-11-02
  • 2021-12-15
  • 2021-11-04
  • 2022-01-01
  • 2021-05-03
  • 2021-12-05
相关资源
相似解决方案