Skip to content

Instantly share code, notes, and snippets.

@mvfsillva
Created July 24, 2024 18:24
Show Gist options
  • Select an option

  • Save mvfsillva/913d7a829effdf95574e828407f5ee40 to your computer and use it in GitHub Desktop.

Select an option

Save mvfsillva/913d7a829effdf95574e828407f5ee40 to your computer and use it in GitHub Desktop.
vs-code-keybindings.json
[
{
"command": "projectManager.listGitProjects#sideBarGit",
"key": "cmd+o"
},
{
"command": "expand_region",
"key": "ctrl+=",
"when": "editorTextFocus"
},
{
"command": "undo_expand_region",
"key": "ctrl+-",
"when": "editorTextFocus && editorHasSelection"
},
{
"command": "workbench.action.toggleSidebarVisibility",
"key": "ctrl+e"
},
{
"command": "workbench.files.action.focusFilesExplorer",
"key": "ctrl+e",
"when": "editorTextFocus"
},
{
"command": "explorer.newFile",
"key": "a",
"when": "filesExplorerFocus && !inputFocus"
},
{
"command": "renameFile",
"key": "r",
"when": "filesExplorerFocus && !inputFocus"
},
{
"command": "filesExplorer.copy",
"key": "c",
"when": "filesExplorerFocus && !inputFocus"
},
{
"command": "filesExplorer.paste",
"key": "p",
"when": "filesExplorerFocus && !inputFocus"
},
{
"command": "deleteFile",
"key": "d",
"when": "filesExplorerFocus && !inputFocus"
},
{
"command": "editor.action.addSelectionToNextFindMatch",
"key": "ctrl+n",
"when": "editorFocus"
},
{
"command": "editor.action.addSelectionToNextFindMatch",
"key": "ctrl+n",
"when": "editorFocus"
},
{
"command": "-workbench.action.files.save",
"key": "cmd+s"
},
{
"command": "saveAll",
"key": "cmd+s"
},
{
"command": "-editor.action.addSelectionToNextFindMatch",
"key": "cmd+d",
"when": "editorFocus"
},
// {
// "command": "-extension.vim_cmd+d",
// "key": "cmd+d",
// "when": "editorTextFocus && vim.active && vim.use<D-d> && !inDebugRepl"
// },
{
"command": "workbench.action.splitEditor",
"key": "cmd+d"
},
{
"command": "-workbench.action.splitEditor",
"key": "cmd+\\"
},
{
"command": "turboConsoleLog.displayLogMessage",
"key": "cmd+i"
},
{
"command": "-turboConsoleLog.displayLogMessage",
"key": "ctrl+alt+l"
},
{
"key": "ctrl+b",
"command": "extension.toggleBool",
},
{
"key": "-alt+b",
"command": "extension.toggleBool",
},
// {
// "command": "-undo",
// "key": "cmd+z"
// },
// {
// "command": "-interactiveEditor.unstash",
// "key": "cmd+z",
// "when": "interactiveEditorHasStashedSession && !editorReadonly"
// },
// {
// "command": "workbench.action.toggleZenMode",
// "key": "cmd+z"
// },
// {
// "command": "-workbench.action.toggleZenMode",
// "key": "cmd+k z"
// },
{
"command": "-editor.action.selectAll",
"key": "cmd+a"
},
{
"command": "editor.action.selectAll",
"key": "cmd+a"
},
{
"command": "workbench.action.terminal.toggleTerminal",
"key": "alt+cmd+,",
"when": "terminal.active"
},
{
"command": "-workbench.action.terminal.toggleTerminal",
"key": "ctrl+`",
"when": "terminal.active"
},
{
"key": "ctrl+\\",
"command": "workbench.action.terminal.new",
"when": "terminalProcessSupported || terminalWebExtensionContributedProfile"
},
{
"key": "ctrl+shift+`",
"command": "-workbench.action.terminal.new",
"when": "terminalProcessSupported || terminalWebExtensionContributedProfile"
},
{
"key": "ctrl+x",
"command": "workbench.view.extensions",
"when": "viewContainer.workbench.view.extensions.enabled"
},
{
"command": "-workbench.view.extensions",
"key": "shift+cmd+x",
"when": "viewContainer.workbench.view.extensions.enabled"
},
{
"command": "workbench.view.scm",
"key": "ctrl+g",
"when": "workbench.scm.active"
},
{
"command": "-workbench.view.scm",
"key": "ctrl+shift+g",
"when": "workbench.scm.active"
},
{
"key": "ctrl+k ctrl+k",
"command": "editor.action.deleteLines",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "shift+cmd+k",
"command": "-editor.action.deleteLines",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+l",
"command": "-notebook.centerActiveCell",
"when": "notebookEditorFocused"
},
{
"key": "ctrl+l",
"command": "-workbench.action.chat.newChat",
"when": "chatIsEnabled && inChat"
},
{
"key": "ctrl+l",
"command": "deleteLeft",
"when": "textInputFocus"
},
{
"key": "ctrl+h",
"command": "-deleteLeft",
"when": "textInputFocus"
},
{
"key": "shift+cmd+/",
"command": "workbench.action.openSettingsJson"
},
{
"key": "ctrl+d ctrl+b",
"command": "workbench.view.debug",
"when": "viewContainer.workbench.view.debug.enabled"
},
{
"key": "shift+cmd+d",
"command": "-workbench.view.debug",
"when": "viewContainer.workbench.view.debug.enabled"
},
{
"key": "ctrl+alt+cmd+b",
"command": "bookmarks.jumpToPrevious",
"when": "editorTextFocus"
},
{
"key": "alt+cmd+j",
"command": "-bookmarks.jumpToPrevious",
"when": "editorTextFocus"
},
{
"key": "alt+cmd+j",
"command": "workbench.action.toggleMaximizedPanel"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment