{
"font_size": 12,
"ignored_packages":
[
],
"vintage_start_in_command_mode": true
}
配置快捷键
[
{ "keys": ["j", "j"], "command": "exit_insert_mode",
"context":
[
{ "key": "setting.command_mode", "operand": false },
{ "key": "setting.is_widget", "operand": false }
]
},//①插入模式 j j 进入vim模式
{ "keys": ["k", "k"], "command": "exit_insert_mode",
"context":
[
{ "key": "setting.command_mode", "operand": false },
{ "key": "setting.is_widget", "operand": false }
]
},//①插入模式 k k 进入vim模式
{ "keys": ["ctrl+j"], "command": "move", "args": {"by": "lines", "forward": false}},//② 插入模式上移动
{ "keys": ["ctrl+k"], "command": "move", "args": {"by": "lines", "forward": true}},//② 插入模式下移动
{ "keys": ["ctrl+h"], "command": "move", "args": {"by": "characters", "forward": false}},//② 插入模式下移动
{ "keys": ["ctrl+l"], "command": "move", "args": {"by": "characters", "forward": true}},//② 插入模式右移动
{ "keys": ["ctrl+j"], "command": "commit_completion", "context":
[
{ "key": "auto_complete_visible" },
{ "key": "setting.auto_complete_commit_on_tab", "operand": false }
]
},//③存在自动补全的选择是,使用ctrl+j 就可以进行选择。
{ "keys": ["ctrl+alt+l"], "command": "reindent" }, //代码格式化
]