Skip to content

Instantly share code, notes, and snippets.

@y13i
Created June 7, 2017 15:29
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 y13i/7c9f1d0aea8bb551092c29cb5df5f82b to your computer and use it in GitHub Desktop.
Save y13i/7c9f1d0aea8bb551092c29cb5df5f82b to your computer and use it in GitHub Desktop.
Visual Studio Code の設定メモ ref: http://qiita.com/y13i/items/6f6079b1e222cf16ef55
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "ctrl+a",
"command": "cursorHome",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+a",
"command": "cursorHomeSelect"
},
{
"key": "alt+a",
"command": "editor.action.selectAll"
},
{
"key": "ctrl+b",
"command": "cursorLeft",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+b",
"command": "cursorLeftSelect",
"when": "editorTextFocus"
},
{
"key": "alt+b",
"command": "cursorWordLeft",
"when": "editorTextFocus"
},
{
"key": "shift+alt+b",
"command": "cursorWordLeftSelect",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+b",
"command": "workbench.action.toggleSidebarVisibility"
},
{
"key": "ctrl+alt+shift+b",
"command": "workbench.action.tasks.build"
},
{
"key": "ctrl+d",
"command": "deleteRight",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+d",
"command": "editor.action.addSelectionToNextFindMatch"
},
{
"key": "ctrl+shift+alt+d",
"command": "workbench.view.debug"
},
{
"key": "ctrl+e",
"command": "cursorEnd",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+e",
"command": "cursorEndSelect",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+alt+e",
"command": "workbench.view.explorer"
},
{
"key": "ctrl+f",
"command": "cursorRight",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+f",
"command": "cursorRightSelect",
"when": "editorTextFocus"
},
{
"key": "alt+f",
"command": "cursorWordRight",
"when": "editorTextFocus"
},
{
"key": "shift+alt+f",
"command": "cursorWordRightSelect"
},
{
"key": "ctrl+alt+f",
"command": "workbench.view.search"
},
{
"key": "ctrl+shift+alt+f",
"command": "editor.action.formatDocument",
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+g",
"command": "editor.action.nextMatchFindAction"
},
{
"key": "ctrl+g",
"command": "actions.find",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+g",
"command": "editor.action.previousMatchFindAction"
},
{
"key": "ctrl+alt+g",
"command": "workbench.view.scm"
},
{
"key": "ctrl+h",
"command": "deleteLeft"
},
{
"key": "ctrl+shift+h",
"command": "editor.action.startFindReplaceAction"
},
{
"key": "ctrl+alt+h",
"command": "workbench.action.replaceInFiles"
},
{
"key": "ctrl+j",
"command": "extension.jumpy-word"
},
{
"key": "alt+j",
"command": "workbench.action.togglePanel"
},
{
"key": "ctrl+l",
"command": "workbench.action.quickOpen"
},
{
"key": "ctrl+n",
"command": "cursorDown",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+n",
"command": "cursorDownSelect",
"when": "editorTextFocus"
},
{
"key": "alt+n",
"command": "workbench.action.files.newUntitledFile"
},
{
"key": "alt+shift+n",
"command": "workbench.action.newWindow"
},
{
"key": "ctrl+p",
"command": "cursorUp",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+p",
"command": "cursorUpSelect",
"when": "editorTextFocus"
},
{
"key": "ctrl+y",
"command": "workbench.action.showCommands"
}
]
{
"window.zoomLevel": 0,
"editor.tabSize": 2,
"editor.fontFamily": "Fira Code",
"editor.fontSize": 14,
"editor.fontLigatures": true,
"editor.wordWrap": "on",
"editor.minimap.enabled": true,
"git.confirmSync": false,
"files.insertFinalNewline": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment