vs code 快捷鍵設定
阿新 • • 發佈:2019-01-28
設定-鍵盤快捷方式-keybindings.json 中 覆蓋 主要是避免了使用上下左右方向鍵
// 將鍵繫結放入此檔案中以覆蓋預設值
[
{
"key": "ctrl+alt+b",
"command": "eslint.executeAutofix"
},
{
"key": "ctrl+shift+e",
"command": "cursorEndSelect",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+a" ,
"command": "cursorHomeSelect",
"when": "editorTextFocus"
},
{
"key": "ctrl+a",
"command": "cursorHome",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+n",
"command": "cursorDownSelect",
"when": "editorTextFocus"
},
{
"key" : "ctrl+shift+f",
"command": "cursorRightSelect",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+b",
"command": "cursorLeftSelect",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+p",
"command": "cursorUpSelect",
"when" : "editorTextFocus"
},
{
"key": "alt+f",
"command": "cursorWordEndRight",
"when": "editorTextFocus"
},
{
"key": "alt+b",
"command": "cursorWordStartLeft",
"when": "editorTextFocus"
},
{
"key": "alt+shift+f",
"command": "cursorWordEndRightSelect",
"when": "editorTextFocus"
},
{
"key": "alt+shift+b",
"command": "cursorWordStartLeftSelect",
"when": "editorTextFocus"
},
{
"key": "cmd+ctrl+n",
"command": "cursorBottom",
"when": "editorTextFocus"
},
{
"key": "cmd+ctrl+p",
"command": "cursorTop",
"when": "editorTextFocus"
},
{
"key": "cmd+ctrl+shift+n",
"command": "cursorBottomSelect",
"when": "editorTextFocus"
},
{
"key": "cmd+ctrl+shift+p",
"command": "cursorTopSelect",
"when": "editorTextFocus"
}
]