首页 > 代码库 > Sublime Keymap 设置
Sublime Keymap 设置
深深受 Emacs 组合键的影响,在编辑的时候使用组合键快速移动,而不比像 VIM 需要切换模式,但不得不吐槽 Emacs 的插件安装那个叫恶心,所以尝试了新生代产品 Sublime,但是还是离不开 Emacs 组合键的思想,所以将几个常用的组合键在 Sublime 中进行了重新绑定,真实愉快的不得了。
1 [ 2 { "keys": ["ctrl+b"], "command": "move", "args": {"by": "characters", "forward": false} }, 3 { "keys": ["ctrl+f"], "command": "move", "args": {"by": "characters", "forward": true} }, 4 { "keys": ["ctrl+p"], "command": "move", "args": {"by": "lines", "forward": false} }, 5 { "keys": ["ctrl+n"], "command": "move", "args": {"by": "lines", "forward": true} }, 6 { "keys": ["ctrl+a"], "command": "move_to", "args": {"to": "bol", "extend": false} }, 7 { "keys": ["ctrl+e"], "command": "move_to", "args": {"to": "eol", "extend": false} }, 8 9 { "keys": ["alt+a"], "command": "select_all" }, 10 { "keys": ["alt+b"], "command": "move", "args": {"by": "words", "forward": false} }, 11 { "keys": ["alt+f"], "command": "move", "args": {"by": "word_ends", "forward": true} }, 12 { "keys": ["alt+p"], "command": "move", "args": {"by": "pages", "forward": false} }, 13 { "keys": ["alt+n"], "command": "move", "args": {"by": "pages", "forward": true} }, 14 15 16 17 { "keys": ["ctrl+alt+a"], "command": "select_all" }, 18 { "keys": ["ctrl+alt+e"], "command": "slurp_find_string" }, 19 20 { "keys": ["ctrl+alt+b"], "command": "build" }, 21 { "keys": ["ctrl+alt+f"], "command": "show_panel", "args": {"panel": "find", "reverse": false} }, 22 { "keys": ["ctrl+alt+p"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} }, 23 { "keys": ["ctrl+alt+n"], "command": "new_file" }, 24 25 { "keys": ["home"], "command": "move_to", "args": {"to": "bol", "extend": false} }, 26 { "keys": ["end"], "command": "move_to", "args": {"to": "eol", "extend": false} }, 27 28 { "keys": ["left"], "command": "move", "args": {"by": "characters", "forward": false} }, 29 { "keys": ["right"], "command": "move", "args": {"by": "characters", "forward": true} }, 30 { "keys": ["up"], "command": "move", "args": {"by": "lines", "forward": false} }, 31 { "keys": ["down"], "command": "move", "args": {"by": "lines", "forward": true} } 32 ]
再唠叨两句,大势所趋下, VIM 依然坚挺,不得不得益于 Linux 发行版本自带了 VIM,但是相比同时代老战友 Emacs 就没有那么幸运了,Emacs 的关注度持续下滑,看来更新停摆将是迟早的事...
Sublime Keymap 设置
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。