VSCode Emacsキーバインド keybindings.json
・カーソル移動、バックスペース、デリートのみ設定
・全選択をCtrl+aの変わりにCtrl+Shift+a
code:keybindings.json
// Place your key bindings in this file to override the defaults
[
{
"key": "ctrl+p",
"command": "cursorUp",
"when": "editorTextFocus"
},
{
"key": "ctrl+n",
"command": "cursorDown",
"when": "editorTextFocus"
},
{
"key": "ctrl+f",
"command": "cursorRight",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+f",
"command": "defaultSettings.action.focusSearch",
"when": "defaultSettingsEditor"
},
{
"key": "ctrl+b",
"command": "cursorLeft",
"when": "editorTextFocus"
},
{
"key": "ctrl+a",
"command": "cursorHome",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+a",
"command": "editor.action.selectAll"
},
{
"key": "ctrl+e",
"command": "cursorEnd",
"when": "editorTextFocus"
},
{
"key": "ctrl+d",
"command": "deleteRight",
"when": "editorTextFocus"
},
{
"key": "ctrl+h",
"command": "deleteLeft",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+h",
"command": "editor.action.startFindReplaceAction",
"when": "editorFocus || editorIsOpen"
},
{
"key": "ctrl+k",
"command": "deleteAllRight",
"when": "editorTextFocus"
},
]