Skip to content

Instantly share code, notes, and snippets.

@torufurukawa
Created February 4, 2017 11:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save torufurukawa/8bc6194095ce03b6a960a73d4e7af4a1 to your computer and use it in GitHub Desktop.
Save torufurukawa/8bc6194095ce03b6a960a73d4e7af4a1 to your computer and use it in GitHub Desktop.
VS Code key bindings
// 既定値を上書きするには、このファイル内にキー バインドを挿入します
[
// Moving cursor
{ "key": "ctrl+p", "command": "cursorUp",
"when": "editorTextFocus" },
{ "key": "ctrl+n", "command": "cursorDown",
"when": "editorTextFocus" },
{ "key": "ctrl+f", "command": "cursorRight",
"when": "editorTextFocus"},
{ "key": "ctrl+b", "command": "cursorLeft",
"when": "editorTextFocus"},
{ "key": "ctrl+a", "command": "cursorHome",
"when": "editorTextFocus" },
{ "key": "ctrl+e", "command": "cursorEnd",
"when": "editorTextFocus"},
{ "key": "shift+cmd+f", "command": "actions.find" },
// Editing
{ "key": "shift+cmd+a", "command": "editor.action.selectAll"},
{ "key": "ctrl+k ctrl+k", "command": "deleteAllRight",
"when": "editorTextFocus && !editorReadonly" },
{ "key": "ctrl+h", "command": "deleteLeft",
"when": "editorTextFocus && !editorReadonly" },
{ "key": "ctrl+d", "command": "deleteRight",
"when": "editorTextFocus && !editorReadonly" },
// Others
{ "key": "alt+p", "command": "workbench.action.quickOpen"}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment