「Emacs のキーバインドが忘れられない VisualStudio ユーザーに捧げる」のVSCode版です。
まあ各環境でキーバインドは極力合わせたいんでね。
keybindings.json
[
{
"key": "ctrl+p",
"command": "cursorUp",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+p",
"command": "workbench.action.quickOpenNavigateNext",
"when": "inQuickOpen"
},
{
"key": "ctrl+alt+p",
"command": "workbench.action.quickOpen"
},
{
"key": "ctrl+n",
"command": "cursorDown",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+n",
"command": "workbench.action.files.newUntitledFile"
},
{
"key": "ctrl+f",
"command": "cursorRight",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+f",
"command": "defaultSettings.action.focusSearch",
"when": "defaultSettingsEditor"
},
{
"key": "ctrl+alt+f",
"command": "actions.find"
},
{
"key": "ctrl+b",
"command": "cursorLeft",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+b",
"command": "workbench.action.toggleSidebarVisibility"
},
{
"key": "ctrl+a",
"command": "cursorHome",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+a",
"command": "editor.action.selectAll"
},
{
"key": "ctrl+e",
"command": "cursorEnd",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+e",
"command": "workbench.action.quickOpenNavigateNext",
"when": "inQuickOpen"
},
{
"key": "ctrl+alt+e",
"command": "workbench.action.quickOpen"
},
{
"key": "ctrl+w",
"command": "cursorWordRight",
"when": "editorTextFocus"
},
{
"key": "ctrl+r",
"command": "cursorWordLeft",
"when": "editorTextFocus"
},
{
"key": "ctrl+d",
"command": "deleteRight",
"when": "editorTextFocus"
},
{
"key": "ctrl+h",
"command": "deleteLeft",
"when": "editorTextFocus"
},
{
"key": "delete",
"command": "deleteWordRight",
"when": "editorTextFocus"
},
{
"key": "backspace",
"command": "deleteWordLeft",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+h",
"command": "editor.action.startFindReplaceAction"
},
{
"key": "ctrl+h",
"command": "-editor.action.startFindReplaceAction"
},
]