Skip to content

Instantly share code, notes, and snippets.

@huuyafwww
Created August 16, 2021 13:57
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 huuyafwww/584b3e330dafdea9022d37893014dbda to your computer and use it in GitHub Desktop.
Save huuyafwww/584b3e330dafdea9022d37893014dbda to your computer and use it in GitHub Desktop.
This is a Visual Studio Code configuration file for keyboard binding for me.
[
{
"key": "ctrl+cmd+a",
"command": "extension.codicTranslate"
},
{
"key": "ctrl+cmd+c 2",
"command": "extension.changeCase.camel"
},
{
"key": "ctrl+cmd+c 1",
"command": "extension.changeCase.kebab"
},
{
"key": "shift+cmd+d",
"command": "-workbench.view.debug"
},
{
"key": "ctrl+cmd+c 3",
"command": "extension.changeCase.constant"
},
{
"key": "ctrl+cmd+c 4",
"command": "extension.changeCase.title"
},
{
"key": "cmd+[BracketLeft]",
"command": "extension.markdown-pdf.pdf"
},
{
"key": "alt+up",
"command": "-showPrevParameterHint",
"when": "editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible"
},
{
"key": "alt+up",
"command": "-history.showPrevious",
"when": "historyNavigationEnabled && historyNavigationWidget"
},
{
"key": "alt+up",
"command": "-editor.action.moveLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+down",
"command": "-editor.action.moveLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+down",
"command": "-history.showNext",
"when": "historyNavigationEnabled && historyNavigationWidget"
},
{
"key": "alt+down",
"command": "-showNextParameterHint",
"when": "editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible"
},
{
"key": "alt+up",
"command": "extension.vertical-jump.cursorBlockFirstLine",
"when": "editorTextFocus"
},
{
"key": "ctrl+up",
"command": "-extension.vertical-jump.cursorBlockFirstLine",
"when": "editorTextFocus"
},
{
"key": "alt+down",
"command": "extension.vertical-jump.cursorBlockLastLine",
"when": "editorTextFocus"
},
{
"key": "ctrl+down",
"command": "-extension.vertical-jump.cursorBlockLastLine",
"when": "editorTextFocus"
},
{
"key": "shift+alt+up",
"command": "extension.vertical-jump.cursorBlockFirstLineSelect",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+up",
"command": "-extension.vertical-jump.cursorBlockFirstLineSelect",
"when": "editorTextFocus"
},
{
"key": "shift+alt+down",
"command": "extension.vertical-jump.cursorBlockLastLineSelect",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+down",
"command": "-extension.vertical-jump.cursorBlockLastLineSelect",
"when": "editorTextFocus"
},
{
"key": "alt+right",
"command": "-japaneseWordHandler.cursorWordEndRight",
"when": "editorTextFocus"
},
{
"key": "shift+alt+up",
"command": "-editor.action.copyLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+up",
"command": "-notebook.cell.copyUp",
"when": "notebookEditorFocused && !inputFocus"
},
{
"key": "shift+alt+down",
"command": "-editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+down",
"command": "-notebook.cell.copyDown",
"when": "notebookEditorFocused && !inputFocus"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment