Sublime Text 配置
1.键盘映射
映射成emacs的键盘方式:
Preferences --> Key Bounding - user;然后复制如下配置信息(注意取消前缀“...-->”)。
{ "keys": ["ctrl+a"], "command": "move_to", "args": {"to": "bol", "extend": false} }, //--> home
{ "keys": ["ctrl+e"], "command": "move_to", "args": {"to": "eol", "extend": false} }, //--> end
{ "keys": ["ctrl+b"], "command": "move", "args": {"by": "characters", "forward": false} }, //-->left
{ "keys": ["ctrl+f"], "command": "move", "args": {"by": "characters", "forward": true} }, //-->right
{ "keys": ["ctrl+p"], "command": "move", "args": {"by": "lines", "forward": false} }, //--> up
{ "keys": ["ctrl+n"], "command": "move", "args": {"by": "lines", "forward": true} }, //-->down
{ "keys": ["ctrl+z"], "command": "select_all" }, //-->select_all
{ "keys": ["home"], "command": "undo" }, //--> undo
{ "keys": ["end"], "command": "slurp_find_string" }, //-->slurp_find_string
{ "keys": ["left"], "command": "build" }, show_panel //-->build
{ "keys": ["right"], "command": "show_panel", "args": {"panel": "find", "reverse": false} }, //--> show_panel
{ "keys": ["up"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} }, //-->show_overla
{ "keys": ["down"], "command": "new_file" }, //-->new_file