Skip to content

Instantly share code, notes, and snippets.

@yuta17
Created September 10, 2018 10:21
Show Gist options
  • Select an option

  • Save yuta17/612716cca33c2dd3b8d01616a33f8628 to your computer and use it in GitHub Desktop.

Select an option

Save yuta17/612716cca33c2dd3b8d01616a33f8628 to your computer and use it in GitHub Desktop.
user settings for vscode
// 既定値を上書きするには、このファイル内にキー バインドを挿入します
[
{
"key": "ctrl+k",
"command": "editor.action.commentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "cmd+/",
"command": "-editor.action.commentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "space w",
"command": "workbench.action.files.saveAll",
"when": "vim.mode != 'Insert'"
},
{
"key": "alt+cmd+s",
"command": "-workbench.action.files.saveAll"
},
{
"key": "cmd+\\",
"command": "workbench.action.splitEditor"
},
{
"key": "cmd+\\",
"command": "-workbench.action.splitEditor"
},
{
"key": "cmd+f",
"command": "workbench.view.search",
"when": "!searchViewletVisible"
},
{
"key": "shift+cmd+f",
"command": "-workbench.view.search",
"when": "!searchViewletVisible"
},
{
"key": "cmd+f",
"command": "-actions.find"
},
{
"key": "cmd+f",
"command": "-workbench.action.terminal.focusFindWidget",
"when": "terminalFocus"
},
{
"key": "cmd+d",
"command": "workbench.action.terminal.hideFindWidget",
"when": "terminalFindWidgetVisible && terminalFocus"
},
{
"key": "escape",
"command": "-workbench.action.terminal.hideFindWidget",
"when": "terminalFindWidgetVisible && terminalFocus"
},
{
"key": "g a",
"command": "git.stage",
"when": "vim.mode != 'Insert'"
},
{
"key": "space k",
"command": "workbench.action.nextEditor",
"when": "vim.mode != 'Insert'"
},
{
"key": "space j",
"command": "workbench.action.previousEditor",
"when": "vim.mode != 'Insert'"
},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment