// 将键绑定放在此文件中以覆盖默认值
// Place your key bindings in this file to overwrite the defaults
[
//左
{
"key": "ctrl+shift+j",
"command": "cursorLeft",
"when": "textInputFocus"
},
//上
{
"key": "ctrl+shift+k",
"command": "cursorUp",
"when": "textInputFocus"
},
//下
{
"key": "ctrl+shift+l",
"command": "cursorDown",
"when": "textInputFocus"
},
//右
{
"key": "ctrl+shift+oem_1",
"command": "cursorRight",
"when": "textInputFocus"
},
//行首
{
"key": "ctrl+shift+h",
"command": "cursorHome",
"when": "textInputFocus"
},
//行末
{
"key": "ctrl+shift+oem_7",
"command": "cursorEnd",
"when": "textInputFocus"
},
//从左边向右选中整词
{
"key": "ctrl+shift+i",
"command": "cursorWordEndRightSelect",
"when": "textInputFocus"
},
//从右边向左边选中整词
{
"key": "ctrl+shift+o",
"command": "cursorWordStartLeftSelect",
"when": "textInputFocus"
},
//删除该行
{
"key": "ctrl+shift+u",
"command": "editor.action.deleteLines",
"when": "editorTextFocus"
},
//向下复制该行
{
"key": "ctrl+d",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
}
]
vscode快捷键
最新推荐文章于 2024-04-29 16:07:14 发布