Skip to content

Instantly share code, notes, and snippets.

@duongphuhiep
Last active May 10, 2023 07:07
Show Gist options
  • Save duongphuhiep/bdcb40a9cf5d04fd8e2f4be9468fa2e2 to your computer and use it in GitHub Desktop.
Save duongphuhiep/bdcb40a9cf5d04fd8e2f4be9468fa2e2 to your computer and use it in GitHub Desktop.
vscode Hiep's keymap
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "ctrl+t",
"command": "workbench.action.togglePanel"
},
{
"key": "ctrl+shift+f4",
"command": "workbench.action.closeOtherEditors"
},
{
"key": "ctrl+pagedown",
"command": "workbench.action.nextPanelView",
"when": "panelFocus"
},
{
"key": "ctrl+pageup",
"command": "workbench.action.previousPanelView",
"when": "panelFocus"
},
{
"key": "ctrl+alt+pagedown",
"command": "workbench.action.terminal.focusNext",
"when": "terminalFocus && terminalHasBeenCreated && !terminalEditorFocus || terminalFocus && terminalProcessSupported && !terminalEditorFocus"
},
{
"key": "ctrl+alt+pageup",
"command": "workbench.action.terminal.focusPrevious",
"when": "terminalFocus && terminalHasBeenCreated && !terminalEditorFocus || terminalFocus && terminalProcessSupported && !terminalEditorFocus"
},
{
"key": "ctrl+shift+d",
"command": "editor.action.copyLinesDownAction"
},
{
"key": "alt+left",
"command": "workbench.action.navigateBack"
},
{
"key": "alt+right",
"command": "workbench.action.navigateForward"
},
{
"key": "ctrl+alt+e",
"command": "revealFileInOS",
"when": "explorerViewletFocus && explorerViewletVisible && !inputFocus"
},
{
"key": "ctrl+shift+0",
"command": "workbench.action.zoomReset"
},
{
"key": "ctrl+k ctrl+c",
"command": "editor.action.blockComment",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+k ctrl+c",
"command": "-editor.action.addCommentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+u",
"command": "editor.toggleFold",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "ctrl+k ctrl+t",
"command": "editor.action.toggleTabFocusMode"
},
{
"key": "ctrl+m",
"command": "-editor.action.toggleTabFocusMode"
},
{
"key": "ctrl+k ctrl+t",
"command": "-workbench.action.selectTheme"
},
{
"key": "ctrl+m",
"command": "workbench.action.toggleMaximizedPanel",
"when": "panelFocus"
},
{
"key": "ctrl+b",
"command": "-workbench.debug.viewlet.action.addFunctionBreakpointAction"
},
{
"key": "ctrl+k ctrl+m",
"command": "editor.foldAll",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "ctrl+k ctrl+m",
"command": "-editor.foldAll",
"when": "editorTextFocus"
},
{
"key": "ctrl+k ctrl+o",
"command": "editor.unfoldAll",
"when": "editorTextFocus && foldingEnabled"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment