Skip to content

Instantly share code, notes, and snippets.

@gh0stl1m
Last active December 18, 2024 17:24
Show Gist options
  • Save gh0stl1m/f0b285b5220d5ac07c470a19bd0de4a4 to your computer and use it in GitHub Desktop.
Save gh0stl1m/f0b285b5220d5ac07c470a19bd0de4a4 to your computer and use it in GitHub Desktop.
{"lastUpload":"2024-12-18T17:24:47.969Z","extensionVersion":"v3.4.3"}
[
{
"metadata": {
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd",
"publisherId": "Shan.code-settings-sync",
"publisherDisplayName": "Shan"
},
"name": "code-settings-sync",
"publisher": "Shan",
"version": "3.4.3"
},
{
"metadata": {
"id": "19804510-b475-4dae-b0f7-6ca08fd1af0c",
"publisherId": "dsznajder.es7-react-js-snippets",
"publisherDisplayName": "dsznajder"
},
"name": "es7-react-js-snippets",
"publisher": "dsznajder",
"version": "4.4.3"
},
{
"metadata": {
"id": "5960f38e-0bbe-4644-8f9c-9c8824e82511",
"publisherId": "donjayamanne.githistory",
"publisherDisplayName": "donjayamanne"
},
"name": "githistory",
"publisher": "donjayamanne",
"version": "0.6.20"
},
{
"metadata": {
"id": "4de763bd-505d-4978-9575-2b7696ecf94e",
"publisherId": "eamodio.gitlens",
"publisherDisplayName": "eamodio"
},
"name": "gitlens",
"publisher": "eamodio",
"version": "16.0.5"
},
{
"metadata": {
"id": "d6f6cfea-4b6f-41f4-b571-6ad2ab7918da",
"publisherId": "golang.go",
"publisherDisplayName": "golang"
},
"name": "go",
"publisher": "golang",
"version": "0.42.1"
},
{
"metadata": {
"id": "5db78037-f674-459f-a236-db622c427c5b",
"publisherId": "PKief.material-icon-theme",
"publisherDisplayName": "PKief"
},
"name": "material-icon-theme",
"publisher": "PKief",
"version": "5.15.0"
},
{
"metadata": {
"id": "dff6b801-247e-40e9-82e8-8c9b1d19d1b8",
"publisherId": "christian-kohler.npm-intellisense",
"publisherDisplayName": "christian-kohler"
},
"name": "npm-intellisense",
"publisher": "christian-kohler",
"version": "1.4.5"
},
{
"metadata": {
"id": "06574cb4-e5dc-4631-8174-a543a4533621",
"publisherId": "rust-lang.rust-analyzer",
"publisherDisplayName": "rust-lang"
},
"name": "rust-analyzer",
"publisher": "rust-lang",
"version": "0.3.2220"
},
{
"metadata": {
"id": "4a23294b-fd16-4c51-9759-da9936474cf8",
"publisherId": "hashicorp.terraform",
"publisherDisplayName": "hashicorp"
},
"name": "terraform",
"publisher": "hashicorp",
"version": "2.34.1"
},
{
"metadata": {
"id": "d96e79c6-8b25-4be3-8545-0e0ecefcae03",
"publisherId": "vscodevim.vim",
"publisherDisplayName": "vscodevim"
},
"name": "vim",
"publisher": "vscodevim",
"version": "1.29.0"
},
{
"metadata": {
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a",
"publisherId": "dbaeumer.vscode-eslint",
"publisherDisplayName": "dbaeumer"
},
"name": "vscode-eslint",
"publisher": "dbaeumer",
"version": "3.0.10"
}
]
{
"userDataProfilesMigration": true,
"profileAssociations": {
"workspaces": {
"file:///Users/santiago.sanchez/Code/NodeJS/Pager/edge-api-admin": "__default__profile__"
},
"emptyWindows": {
"1734365263480": "__default__profile__"
}
},
"profileAssociationsMigration": true,
"telemetry.sqmId": "",
"telemetry.machineId": "96b39b42ce42ad03bb67220fe87689933a6d65648d09f98dabc4db66deb20939",
"telemetry.devDeviceId": "7a742aab-9426-43c2-99d3-9d711cb9a306",
"backupWorkspaces": {
"workspaces": [],
"folders": [
{
"folderUri": "file:///Users/santiago.sanchez/Code/NodeJS/Pager/edge-api-admin"
}
],
"emptyWindows": [
{
"backupFolder": "1734365263480"
}
]
},
"windowControlHeight": 35,
"lastKnownMenubarData": {
"menus": {
"File": {
"items": [
{
"id": "workbench.action.files.newUntitledFile",
"label": "&&New Text File"
},
{
"id": "welcome.showNewFileEntries",
"label": "New File..."
},
{
"id": "workbench.action.newWindow",
"label": "New &&Window"
},
{
"id": "submenuitem.OpenProfile",
"label": "New Window with Profile",
"submenu": {
"items": [
{
"id": "workbench.profiles.actions.createProfile",
"label": "New Profile..."
}
]
}
},
{
"id": "vscode.menubar.separator"
},
{
"id": "workbench.action.files.openFileFolder",
"label": "&&Open..."
},
{
"id": "workbench.action.files.openFolder",
"label": "Open &&Folder..."
},
{
"id": "workbench.action.openWorkspace",
"label": "Open Wor&&kspace from File..."
},
{
"id": "submenuitem.MenubarRecentMenu",
"label": "Open &&Recent",
"submenu": {
"items": [
{
"id": "workbench.action.reopenClosedEditor",
"label": "&&Reopen Closed Editor"
},
{
"id": "vscode.menubar.separator"
},
{
"id": "openRecentFolder",
"uri": {
"$mid": 1,
"path": "/Users/santiago.sanchez/Code/NodeJS/Pager/edge-api-admin",
"scheme": "file"
},
"enabled": true,
"label": "~/Code/NodeJS/Pager/edge-api-admin"
},
{
"id": "vscode.menubar.separator"
},
{
"id": "workbench.action.openRecent",
"label": "&&More..."
},
{
"id": "vscode.menubar.separator"
},
{
"id": "workbench.action.clearRecentFiles",
"label": "&&Clear Recently Opened..."
}
]
}
},
{
"id": "vscode.menubar.separator"
},
{
"id": "addRootFolder",
"label": "A&&dd Folder to Workspace..."
},
{
"id": "workbench.action.saveWorkspaceAs",
"label": "Save Workspace As..."
},
{
"id": "workbench.action.duplicateWorkspaceInNewWindow",
"label": "Duplicate Workspace"
},
{
"id": "vscode.menubar.separator"
},
{
"id": "workbench.action.files.save",
"label": "&&Save"
},
{
"id": "workbench.action.files.saveAs",
"label": "Save &&As..."
},
{
"id": "saveAll",
"label": "Save A&&ll"
},
{
"id": "vscode.menubar.separator"
},
{
"id": "submenuitem.MenubarShare",
"label": "Share",
"submenu": {
"items": [
{
"id": "github.copyVscodeDevLinkFile",
"label": "Copy vscode.dev Link"
},
{
"id": "vscode.menubar.separator"
},
{
"id": "workbench.profiles.actions.exportProfile",
"label": "Export Profile (Default)..."
}
]
}
},
{
"id": "vscode.menubar.separator"
},
{
"id": "workbench.action.toggleAutoSave",
"label": "A&&uto Save"
},
{
"id": "vscode.menubar.separator"
},
{
"id": "workbench.action.files.revert",
"label": "Re&&vert File"
},
{
"id": "workbench.action.closeActiveEditor",
"label": "&&Close Editor"
},
{
"id": "workbench.action.closeFolder",
"label": "Close &&Folder"
},
{
"id": "workbench.action.closeWindow",
"label": "Clos&&e Window"
}
]
},
"Edit": {
"items": [
{
"id": "undo",
"label": "&&Undo"
},
{
"id": "redo",
"label": "&&Redo"
},
{
"id": "vscode.menubar.separator"
},
{
"id": "editor.action.clipboardCutAction",
"label": "Cu&&t"
},
{
"id": "editor.action.clipboardCopyAction",
"label": "&&Copy"
},
{
"id": "submenuitem.MenubarCopy",
"label": "Copy As",
"submenu": {
"items": [
{
"id": "gitlens.copyRemoteFileUrlToClipboard",
"label": "Copy Remote File URL"
},
{
"id": "gitlens.copyRemoteFileUrlFrom",
"label": "Copy Remote File URL From..."
}
]
}
},
{
"id": "editor.action.clipboardPasteAction",
"label": "&&Paste"
},
{
"id": "vscode.menubar.separator"
},
{
"id": "actions.find",
"label": "&&Find"
},
{
"id": "editor.action.startFindReplaceAction",
"label": "&&Replace"
},
{
"id": "vscode.menubar.separator"
},
{
"id": "workbench.action.findInFiles",
"label": "Find &&in Files"
},
{
"id": "workbench.action.replaceInFiles",
"label": "Replace in Files"
},
{
"id": "vscode.menubar.separator"
},
{
"id": "editor.action.commentLine",
"label": "&&Toggle Line Comment"
},
{
"id": "editor.action.blockComment",
"label": "Toggle &&Block Comment"
},
{
"id": "editor.emmet.action.expandAbbreviation",
"label": "Emmet: E&&xpand Abbreviation"
}
]
},
"Selection": {
"items": [
{
"id": "editor.action.selectAll",
"label": "&&Select All"
},
{
"id": "editor.action.smartSelect.expand",
"label": "&&Expand Selection"
},
{
"id": "editor.action.smartSelect.shrink",
"label": "&&Shrink Selection"
},
{
"id": "vscode.menubar.separator"
},
{
"id": "editor.action.copyLinesUpAction",
"label": "&&Copy Line Up"
},
{
"id": "editor.action.copyLinesDownAction",
"label": "Co&&py Line Down"
},
{
"id": "editor.action.moveLinesUpAction",
"label": "Mo&&ve Line Up"
},
{
"id": "editor.action.moveLinesDownAction",
"label": "Move &&Line Down"
},
{
"id": "editor.action.duplicateSelection",
"label": "&&Duplicate Selection"
},
{
"id": "vscode.menubar.separator"
},
{
"id": "editor.action.insertCursorAbove",
"label": "&&Add Cursor Above"
},
{
"id": "editor.action.insertCursorBelow",
"label": "A&&dd Cursor Below"
},
{
"id": "editor.action.insertCursorAtEndOfEachLineSelected",
"label": "Add C&&ursors to Line Ends"
},
{
"id": "editor.action.addSelectionToNextFindMatch",
"label": "Add &&Next Occurrence"
},
{
"id": "editor.action.addSelectionToPreviousFindMatch",
"label": "Add P&&revious Occurrence"
},
{
"id": "editor.action.selectHighlights",
"label": "Select All &&Occurrences"
},
{
"id": "vscode.menubar.separator"
},
{
"id": "workbench.action.toggleMultiCursorModifier",
"label": "Switch to Cmd+Click for Multi-Cursor"
},
{
"id": "editor.action.toggleColumnSelection",
"label": "Column &&Selection Mode"
}
]
},
"View": {
"items": [
{
"id": "workbench.action.showCommands",
"label": "&&Command Palette..."
},
{
"id": "workbench.action.openView",
"label": "&&Open View..."
},
{
"id": "vscode.menubar.separator"
},
{
"id": "submenuitem.MenubarAppearanceMenu",
"label": "&&Appearance",
"submenu": {
"items": [
{
"id": "workbench.action.toggleFullScreen",
"label": "&&Full Screen"
},
{
"id": "workbench.action.toggleZenMode",
"label": "Zen Mode"
},
{
"id": "workbench.action.toggleCenteredLayout",
"label": "&&Centered Layout"
},
{
"id": "vscode.menubar.separator"
},
{
"id": "workbench.action.toggleSidebarVisibility",
"label": "&&Primary Side Bar"
},
{
"id": "workbench.action.toggleAuxiliaryBar",
"label": "Secondary Si&&de Bar"
},
{
"id": "workbench.action.toggleStatusbarVisibility",
"label": "S&&tatus Bar",
"checked": true
},
{
"id": "workbench.action.togglePanel",
"label": "&&Panel"
},
{
"id": "vscode.menubar.separator"
},
{
"id": "workbench.action.toggleSidebarPosition",
"label": "&&Move Primary Side Bar Right"
},
{
"id": "submenuitem.ActivityBarPositionMenu",
"label": "Activity Bar Position",
"submenu": {
"items": [
{
"id": "workbench.action.activityBarLocation.default",
"label": "&&Default"
},
{
"id": "workbench.action.activityBarLocation.top",
"label": "&&Top"
},
{
"id": "workbench.action.activityBarLocation.bottom",
"label": "&&Bottom"
},
{
"id": "workbench.action.activityBarLocation.hide",
"label": "&&Hidden",
"checked": true
}
]
}
},
{
"id": "submenuitem.AuxiliaryActivityBarPositionMenu",
"label": "Secondary Activity Bar Position",
"submenu": {
"items": [
{
"id": "workbench.action.auxiliaryActivityBarLocation.default",
"label": "&&Default"
},
{
"id": "workbench.action.auxiliaryActivityBarLocation.top",
"label": "&&Top"
},
{
"id": "workbench.action.auxiliaryActivityBarLocation.bottom",
"label": "&&Bottom"
},
{
"id": "workbench.action.auxiliaryActivityBarLocation.hide",
"label": "&&Hidden",
"checked": true
}
]
}
},
{
"id": "submenuitem.PanelPositionMenu",
"label": "Panel Position",
"submenu": {
"items": [
{
"id": "workbench.action.positionPanelTop",
"label": "Top"
},
{
"id": "workbench.action.positionPanelLeft",
"label": "Left"
},
{
"id": "workbench.action.positionPanelRight",
"label": "Right"
},
{
"id": "workbench.action.positionPanelBottom",
"label": "Bottom",
"checked": true
}
]
}
},
{
"id": "submenuitem.PanelAlignmentMenu",
"label": "Align Panel",
"submenu": {
"items": [
{
"id": "workbench.action.alignPanelCenter",
"label": "Center",
"checked": true
},
{
"id": "workbench.action.alignPanelJustify",
"label": "Justify"
},
{
"id": "workbench.action.alignPanelLeft",
"label": "Left"
},
{
"id": "workbench.action.alignPanelRight",
"label": "Right"
}
]
}
},
{
"id": "submenuitem.EditorTabsBarShowTabsSubmenu",
"label": "Tab Bar",
"submenu": {
"items": [
{
"id": "workbench.action.showMultipleEditorTabs",
"label": "Multiple Tabs"
},
{
"id": "workbench.action.showEditorTab",
"label": "Single Tab"
},
{
"id": "workbench.action.hideEditorTabs",
"label": "Hidden",
"checked": true
}
]
}
},
{
"id": "submenuitem.EditorActionsPositionSubmenu",
"label": "Editor Actions Position",
"submenu": {
"items": [
{
"id": "workbench.action.editorActionsTitleBar",
"label": "Title Bar",
"checked": true
},
{
"id": "workbench.action.hideEditorActions",
"label": "Hidden"
}
]
}
},
{
"id": "vscode.menubar.separator"
},
{
"id": "editor.action.toggleMinimap",
"label": "&&Minimap"
},
{
"id": "breadcrumbs.toggle",
"label": "Toggle &&Breadcrumbs",
"checked": true
},
{
"id": "editor.action.toggleStickyScroll",
"label": "&&Sticky Scroll",
"checked": true
},
{
"id": "editor.action.toggleRenderWhitespace",
"label": "&&Render Whitespace",
"checked": true
},
{
"id": "editor.action.toggleRenderControlCharacter",
"label": "Render &&Control Characters",
"checked": true
},
{
"id": "vscode.menubar.separator"
},
{
"id": "workbench.action.zoomIn",
"label": "&&Zoom In"
},
{
"id": "workbench.action.zoomOut",
"label": "&&Zoom Out"
},
{
"id": "workbench.action.zoomReset",
"label": "&&Reset Zoom"
}
]
}
},
{
"id": "submenuitem.MenubarLayoutMenu",
"label": "Editor &&Layout",
"submenu": {
"items": [
{
"id": "workbench.action.splitEditorUp",
"label": "Split &&Up"
},
{
"id": "workbench.action.splitEditorDown",
"label": "Split &&Down"
},
{
"id": "workbench.action.splitEditorLeft",
"label": "Split &&Left"
},
{
"id": "workbench.action.splitEditorRight",
"label": "Split &&Right"
},
{
"id": "vscode.menubar.separator"
},
{
"id": "workbench.action.splitEditorInGroup",
"label": "Split in &&Group"
},
{
"id": "vscode.menubar.separator"
},
{
"id": "workbench.action.moveEditorToNewWindow",
"label": "&&Move Editor into New Window"
},
{
"id": "workbench.action.copyEditorToNewWindow",
"label": "&&Copy Editor into New Window"
},
{
"id": "vscode.menubar.separator"
},
{
"id": "workbench.action.editorLayoutSingle",
"label": "&&Single"
},
{
"id": "workbench.action.editorLayoutTwoColumns",
"label": "&&Two Columns"
},
{
"id": "workbench.action.editorLayoutThreeColumns",
"label": "T&&hree Columns"
},
{
"id": "workbench.action.editorLayoutTwoRows",
"label": "T&&wo Rows"
},
{
"id": "workbench.action.editorLayoutThreeRows",
"label": "Three &&Rows"
},
{
"id": "workbench.action.editorLayoutTwoByTwoGrid",
"label": "&&Grid (2x2)"
},
{
"id": "workbench.action.editorLayoutTwoRowsRight",
"label": "Two R&&ows Right"
},
{
"id": "workbench.action.editorLayoutTwoColumnsBottom",
"label": "Two &&Columns Bottom"
},
{
"id": "vscode.menubar.separator"
},
{
"id": "workbench.action.toggleEditorGroupLayout",
"label": "Flip &&Layout"
}
]
}
},
{
"id": "vscode.menubar.separator"
},
{
"id": "workbench.view.explorer",
"label": "&&Explorer"
},
{
"id": "workbench.view.search",
"label": "&&Search"
},
{
"id": "workbench.view.scm",
"label": "Source &&Control"
},
{
"id": "workbench.view.debug",
"label": "&&Run"
},
{
"id": "workbench.view.extensions",
"label": "E&&xtensions"
},
{
"id": "vscode.menubar.separator"
},
{
"id": "workbench.actions.view.problems",
"label": "&&Problems"
},
{
"id": "workbench.action.output.toggleOutput",
"label": "&&Output"
},
{
"id": "workbench.debug.action.toggleRepl",
"label": "De&&bug Console"
},
{
"id": "workbench.action.terminal.toggleTerminal",
"label": "&&Terminal"
},
{
"id": "vscode.menubar.separator"
},
{
"id": "editor.action.toggleWordWrap",
"label": "&&Word Wrap"
}
]
},
"Go": {
"items": [
{
"id": "workbench.action.navigateBack",
"label": "&&Back"
},
{
"id": "workbench.action.navigateForward",
"label": "&&Forward",
"enabled": false
},
{
"id": "workbench.action.navigateToLastEditLocation",
"label": "&&Last Edit Location"
},
{
"id": "vscode.menubar.separator"
},
{
"id": "submenuitem.MenubarSwitchEditorMenu",
"label": "Switch &&Editor",
"submenu": {
"items": [
{
"id": "workbench.action.nextEditor",
"label": "&&Next Editor"
},
{
"id": "workbench.action.previousEditor",
"label": "&&Previous Editor"
},
{
"id": "vscode.menubar.separator"
},
{
"id": "workbench.action.openNextRecentlyUsedEditor",
"label": "&&Next Used Editor"
},
{
"id": "workbench.action.openPreviousRecentlyUsedEditor",
"label": "&&Previous Used Editor"
},
{
"id": "vscode.menubar.separator"
},
{
"id": "workbench.action.nextEditorInGroup",
"label": "&&Next Editor in Group"
},
{
"id": "workbench.action.previousEditorInGroup",
"label": "&&Previous Editor in Group"
},
{
"id": "vscode.menubar.separator"
},
{
"id": "workbench.action.openNextRecentlyUsedEditorInGroup",
"label": "&&Next Used Editor in Group"
},
{
"id": "workbench.action.openPreviousRecentlyUsedEditorInGroup",
"label": "&&Previous Used Editor in Group"
}
]
}
},
{
"id": "submenuitem.MenubarSwitchGroupMenu",
"label": "Switch &&Group",
"submenu": {
"items": [
{
"id": "workbench.action.focusFirstEditorGroup",
"label": "Group &&1"
},
{
"id": "workbench.action.focusSecondEditorGroup",
"label": "Group &&2"
},
{
"id": "workbench.action.focusThirdEditorGroup",
"label": "Group &&3"
},
{
"id": "workbench.action.focusFourthEditorGroup",
"label": "Group &&4"
},
{
"id": "workbench.action.focusFifthEditorGroup",
"label": "Group &&5"
},
{
"id": "vscode.menubar.separator"
},
{
"id": "workbench.action.focusNextGroup",
"label": "&&Next Group"
},
{
"id": "workbench.action.focusPreviousGroup",
"label": "&&Previous Group"
},
{
"id": "vscode.menubar.separator"
},
{
"id": "workbench.action.focusLeftGroup",
"label": "Group &&Left"
},
{
"id": "workbench.action.focusRightGroup",
"label": "Group &&Right"
},
{
"id": "workbench.action.focusAboveGroup",
"label": "Group &&Above"
},
{
"id": "workbench.action.focusBelowGroup",
"label": "Group &&Below"
}
]
}
},
{
"id": "vscode.menubar.separator"
},
{
"id": "workbench.action.quickOpen",
"label": "Go to &&File..."
},
{
"id": "workbench.action.showAllSymbols",
"label": "Go to Symbol in &&Workspace..."
},
{
"id": "vscode.menubar.separator"
},
{
"id": "workbench.action.gotoSymbol",
"label": "Go to &&Symbol in Editor..."
},
{
"id": "editor.action.revealDefinition",
"label": "Go to &&Definition"
},
{
"id": "editor.action.revealDeclaration",
"label": "Go to &&Declaration"
},
{
"id": "editor.action.goToTypeDefinition",
"label": "Go to &&Type Definition"
},
{
"id": "editor.action.goToImplementation",
"label": "Go to &&Implementations"
},
{
"id": "editor.action.goToReferences",
"label": "Go to &&References"
},
{
"id": "vscode.menubar.separator"
},
{
"id": "workbench.action.gotoLine",
"label": "Go to &&Line/Column..."
},
{
"id": "editor.action.jumpToBracket",
"label": "Go to &&Bracket"
},
{
"id": "vscode.menubar.separator"
},
{
"id": "editor.action.marker.nextInFiles",
"label": "Next &&Problem"
},
{
"id": "editor.action.marker.prevInFiles",
"label": "Previous &&Problem"
},
{
"id": "vscode.menubar.separator"
},
{
"id": "editor.action.dirtydiff.next",
"label": "Next &&Change"
},
{
"id": "editor.action.dirtydiff.previous",
"label": "Previous &&Change"
}
]
},
"Run": {
"items": [
{
"id": "workbench.action.debug.start",
"label": "&&Start Debugging"
},
{
"id": "workbench.action.debug.run",
"label": "Run &&Without Debugging"
},
{
"id": "workbench.action.debug.stop",
"label": "&&Stop Debugging",
"enabled": false
},
{
"id": "workbench.action.debug.restart",
"label": "&&Restart Debugging",
"enabled": false
},
{
"id": "vscode.menubar.separator"
},
{
"id": "workbench.action.debug.configure",
"label": "Open &&Configurations"
},
{
"id": "debug.addConfiguration",
"label": "A&&dd Configuration..."
},
{
"id": "vscode.menubar.separator"
},
{
"id": "workbench.action.debug.stepOver",
"label": "Step &&Over",
"enabled": false
},
{
"id": "workbench.action.debug.stepInto",
"label": "Step &&Into",
"enabled": false
},
{
"id": "workbench.action.debug.stepOut",
"label": "Step O&&ut",
"enabled": false
},
{
"id": "workbench.action.debug.continue",
"label": "&&Continue",
"enabled": false
},
{
"id": "vscode.menubar.separator"
},
{
"id": "editor.debug.action.toggleBreakpoint",
"label": "Toggle &&Breakpoint"
},
{
"id": "submenuitem.MenubarNewBreakpointMenu",
"label": "&&New Breakpoint",
"submenu": {
"items": [
{
"id": "editor.debug.action.conditionalBreakpoint",
"label": "&&Conditional Breakpoint..."
},
{
"id": "editor.debug.action.editBreakpoint",
"label": "&&Edit Breakpoint"
},
{
"id": "editor.debug.action.toggleInlineBreakpoint",
"label": "Inline Breakp&&oint"
},
{
"id": "workbench.debug.viewlet.action.addFunctionBreakpointAction",
"label": "&&Function Breakpoint..."
},
{
"id": "editor.debug.action.addLogPoint",
"label": "&&Logpoint..."
},
{
"id": "editor.debug.action.triggerByBreakpoint",
"label": "&&Triggered Breakpoint..."
}
]
}
},
{
"id": "vscode.menubar.separator"
},
{
"id": "workbench.debug.viewlet.action.enableAllBreakpoints",
"label": "&&Enable All Breakpoints"
},
{
"id": "workbench.debug.viewlet.action.disableAllBreakpoints",
"label": "Disable A&&ll Breakpoints"
},
{
"id": "workbench.debug.viewlet.action.removeAllBreakpoints",
"label": "Remove &&All Breakpoints"
},
{
"id": "vscode.menubar.separator"
},
{
"id": "debug.installAdditionalDebuggers",
"label": "&&Install Additional Debuggers..."
}
]
},
"Terminal": {
"items": [
{
"id": "workbench.action.terminal.new",
"label": "&&New Terminal"
},
{
"id": "workbench.action.terminal.split",
"label": "&&Split Terminal"
},
{
"id": "vscode.menubar.separator"
},
{
"id": "workbench.action.tasks.runTask",
"label": "&&Run Task..."
},
{
"id": "workbench.action.tasks.build",
"label": "Run &&Build Task..."
},
{
"id": "workbench.action.terminal.runActiveFile",
"label": "Run &&Active File"
},
{
"id": "workbench.action.terminal.runSelectedText",
"label": "Run &&Selected Text"
},
{
"id": "vscode.menubar.separator"
},
{
"id": "workbench.action.tasks.showTasks",
"label": "Show Runnin&&g Tasks...",
"enabled": false
},
{
"id": "workbench.action.tasks.restartTask",
"label": "R&&estart Running Task...",
"enabled": false
},
{
"id": "workbench.action.tasks.terminate",
"label": "&&Terminate Task...",
"enabled": false
},
{
"id": "vscode.menubar.separator"
},
{
"id": "workbench.action.tasks.configureTaskRunner",
"label": "&&Configure Tasks..."
},
{
"id": "workbench.action.tasks.configureDefaultBuildTask",
"label": "Configure De&&fault Build Task..."
}
]
},
"Help": {
"items": [
{
"id": "workbench.action.showCommands",
"label": "Show All Commands"
},
{
"id": "workbench.action.showInteractivePlayground",
"label": "Editor Playgrou&&nd"
},
{
"id": "vscode.menubar.separator"
},
{
"id": "workbench.action.openIssueReporter",
"label": "Report &&Issue"
},
{
"id": "vscode.menubar.separator"
},
{
"id": "workbench.action.openLicenseUrl",
"label": "View &&License"
},
{
"id": "vscode.menubar.separator"
},
{
"id": "workbench.action.toggleDevTools",
"label": "Toggle Developer Tools"
},
{
"id": "workbench.action.openProcessExplorer",
"label": "Open &&Process Explorer"
}
]
},
"Preferences": {
"items": [
{
"id": "workbench.action.openSettings",
"label": "&&Settings"
},
{
"id": "workbench.view.extensions",
"label": "&&Extensions"
},
{
"id": "workbench.action.openGlobalKeybindings",
"label": "Keyboard Shortcuts"
},
{
"id": "workbench.action.openSnippets",
"label": "Configure Snippets"
},
{
"id": "workbench.action.tasks.openUserTasks",
"label": "Tasks"
},
{
"id": "submenuitem.ThemesSubMenu",
"label": "&&Theme",
"submenu": {
"items": [
{
"id": "workbench.action.selectTheme",
"label": "Color Theme"
},
{
"id": "workbench.action.selectIconTheme",
"label": "File Icon Theme"
},
{
"id": "workbench.action.selectProductIconTheme",
"label": "Product Icon Theme"
}
]
}
},
{
"id": "vscode.menubar.separator"
},
{
"id": "settings.filterByOnline",
"label": "&&Online Services Settings"
}
]
}
},
"keybindings": {
"workbench.action.quit": {
"label": "Cmd+Q",
"userSettingsLabel": "cmd+q"
},
"workbench.action.files.newUntitledFile": {
"label": "Cmd+N",
"userSettingsLabel": "cmd+n"
},
"welcome.showNewFileEntries": {
"label": "Ctrl+Alt+Cmd+N",
"userSettingsLabel": "ctrl+alt+cmd+n"
},
"workbench.action.newWindow": {
"label": "Shift+Cmd+N",
"userSettingsLabel": "shift+cmd+n"
},
"workbench.action.files.openFileFolder": {
"label": "Cmd+O",
"userSettingsLabel": "cmd+o"
},
"workbench.action.reopenClosedEditor": {
"label": "Shift+Cmd+T",
"userSettingsLabel": "shift+cmd+t"
},
"workbench.action.openRecent": {
"label": "Ctrl+R",
"userSettingsLabel": "ctrl+r"
},
"workbench.action.files.save": {
"label": "Space W",
"isNative": false,
"userSettingsLabel": "space w"
},
"workbench.action.files.saveAs": {
"label": "Shift+Cmd+S",
"userSettingsLabel": "shift+cmd+s"
},
"saveAll": {
"label": "Alt+Cmd+S",
"userSettingsLabel": "alt+cmd+s"
},
"workbench.action.closeActiveEditor": {
"label": "Cmd+W",
"userSettingsLabel": "cmd+w"
},
"workbench.action.closeFolder": {
"label": "⌘K F",
"isNative": false,
"userSettingsLabel": "cmd+k f"
},
"workbench.action.closeWindow": {
"label": "Shift+Cmd+W",
"userSettingsLabel": "shift+cmd+w"
},
"undo": {
"label": "Cmd+Z",
"userSettingsLabel": "cmd+z"
},
"redo": {
"label": "Shift+Cmd+Z",
"userSettingsLabel": "shift+cmd+z"
},
"editor.action.clipboardCutAction": {
"label": "Cmd+X",
"userSettingsLabel": "cmd+x"
},
"editor.action.clipboardCopyAction": {
"label": "Cmd+C",
"userSettingsLabel": "cmd+c"
},
"editor.action.clipboardPasteAction": {
"label": "Cmd+V",
"userSettingsLabel": "cmd+v"
},
"actions.find": {
"label": "Cmd+F",
"userSettingsLabel": "cmd+f"
},
"editor.action.startFindReplaceAction": {
"label": "Alt+Cmd+F",
"userSettingsLabel": "alt+cmd+f"
},
"workbench.action.findInFiles": {
"label": "Shift+Cmd+F",
"userSettingsLabel": "shift+cmd+f"
},
"workbench.action.replaceInFiles": {
"label": "Shift+Cmd+H",
"userSettingsLabel": "shift+cmd+h"
},
"editor.action.commentLine": {
"label": "Cmd+/",
"userSettingsLabel": "cmd+/"
},
"editor.action.blockComment": {
"label": "Shift+Alt+A",
"userSettingsLabel": "shift+alt+a"
},
"editor.emmet.action.expandAbbreviation": {
"label": "Tab",
"userSettingsLabel": "tab"
},
"editor.action.selectAll": {
"label": "Cmd+A",
"userSettingsLabel": "cmd+a"
},
"editor.action.smartSelect.expand": {
"label": "Ctrl+Shift+Cmd+Right",
"userSettingsLabel": "ctrl+shift+cmd+right"
},
"editor.action.smartSelect.shrink": {
"label": "Ctrl+Shift+Cmd+Left",
"userSettingsLabel": "ctrl+shift+cmd+left"
},
"editor.action.copyLinesUpAction": {
"label": "Shift+Alt+Up",
"userSettingsLabel": "shift+alt+up"
},
"editor.action.copyLinesDownAction": {
"label": "Shift+Alt+Down",
"userSettingsLabel": "shift+alt+down"
},
"editor.action.moveLinesUpAction": {
"label": "Shift+K",
"userSettingsLabel": "shift+k"
},
"editor.action.moveLinesDownAction": {
"label": "Shift+J",
"userSettingsLabel": "shift+j"
},
"editor.action.insertCursorAbove": {
"label": "Alt+Cmd+Up",
"userSettingsLabel": "alt+cmd+up"
},
"editor.action.insertCursorBelow": {
"label": "Alt+Cmd+Down",
"userSettingsLabel": "alt+cmd+down"
},
"editor.action.insertCursorAtEndOfEachLineSelected": {
"label": "Shift+Alt+I",
"userSettingsLabel": "shift+alt+i"
},
"editor.action.addSelectionToNextFindMatch": {
"label": "Ctrl+N",
"userSettingsLabel": "ctrl+n"
},
"editor.action.selectHighlights": {
"label": "Shift+Cmd+L",
"userSettingsLabel": "shift+cmd+l"
},
"workbench.action.showCommands": {
"label": "Shift+Cmd+P",
"userSettingsLabel": "shift+cmd+p"
},
"workbench.action.toggleFullScreen": {
"label": "Ctrl+Cmd+F",
"userSettingsLabel": "ctrl+cmd+f"
},
"workbench.action.toggleZenMode": {
"label": "⌘K Z",
"isNative": false,
"userSettingsLabel": "cmd+k z"
},
"workbench.action.toggleSidebarVisibility": {
"label": "Cmd+B",
"userSettingsLabel": "cmd+b"
},
"workbench.action.toggleAuxiliaryBar": {
"label": "Alt+Cmd+B",
"userSettingsLabel": "alt+cmd+b"
},
"workbench.action.togglePanel": {
"label": "Cmd+J",
"userSettingsLabel": "cmd+j"
},
"workbench.action.zoomIn": {
"label": "Cmd+=",
"userSettingsLabel": "cmd+="
},
"workbench.action.zoomOut": {
"label": "Cmd+-",
"userSettingsLabel": "cmd+-"
},
"workbench.action.zoomReset": {
"label": "⌘NumPad0",
"isNative": false,
"userSettingsLabel": "cmd+numpad0"
},
"workbench.action.splitEditorUp": {
"label": "⌘K ⌘\\",
"isNative": false,
"userSettingsLabel": "cmd+k cmd+\\"
},
"workbench.action.splitEditorInGroup": {
"label": "⌘K ⇧⌘\\",
"isNative": false,
"userSettingsLabel": "cmd+k shift+cmd+\\"
},
"workbench.action.copyEditorToNewWindow": {
"label": "⌘K O",
"isNative": false,
"userSettingsLabel": "cmd+k o"
},
"workbench.action.toggleEditorGroupLayout": {
"label": "Alt+Cmd+0",
"userSettingsLabel": "alt+cmd+0"
},
"workbench.view.explorer": {
"label": "Shift+Cmd+E",
"userSettingsLabel": "shift+cmd+e"
},
"workbench.view.search": {
"label": "Shift+Cmd+F",
"userSettingsLabel": "shift+cmd+f"
},
"workbench.view.scm": {
"label": "Ctrl+Shift+G",
"userSettingsLabel": "ctrl+shift+g"
},
"workbench.view.debug": {
"label": "Shift+Cmd+D",
"userSettingsLabel": "shift+cmd+d"
},
"workbench.view.extensions": {
"label": "Shift+Cmd+X",
"userSettingsLabel": "shift+cmd+x"
},
"workbench.actions.view.problems": {
"label": "Shift+Cmd+M",
"userSettingsLabel": "shift+cmd+m"
},
"workbench.action.output.toggleOutput": {
"label": "Shift+Cmd+U",
"userSettingsLabel": "shift+cmd+u"
},
"workbench.debug.action.toggleRepl": {
"label": "Shift+Cmd+Y",
"userSettingsLabel": "shift+cmd+y"
},
"workbench.action.terminal.toggleTerminal": {
"label": "Ctrl+`",
"userSettingsLabel": "ctrl+`"
},
"editor.action.toggleWordWrap": {
"label": "Alt+Z",
"userSettingsLabel": "alt+z"
},
"workbench.action.navigateBack": {
"label": "Ctrl+-",
"userSettingsLabel": "ctrl+-"
},
"workbench.action.navigateForward": {
"label": "Ctrl+Shift+-",
"userSettingsLabel": "ctrl+shift+-"
},
"workbench.action.navigateToLastEditLocation": {
"label": "⌘K ⌘Q",
"isNative": false,
"userSettingsLabel": "cmd+k cmd+q"
},
"workbench.action.nextEditor": {
"label": "Alt+Cmd+Right",
"userSettingsLabel": "alt+cmd+right"
},
"workbench.action.previousEditor": {
"label": "Alt+Cmd+Left",
"userSettingsLabel": "alt+cmd+left"
},
"workbench.action.nextEditorInGroup": {
"label": "⌘K ⌥⌘→",
"isNative": false,
"userSettingsLabel": "cmd+k alt+cmd+right"
},
"workbench.action.previousEditorInGroup": {
"label": "Shift+Tab",
"userSettingsLabel": "shift+tab"
},
"workbench.action.focusFirstEditorGroup": {
"label": "Cmd+1",
"userSettingsLabel": "cmd+1"
},
"workbench.action.focusSecondEditorGroup": {
"label": "Cmd+2",
"userSettingsLabel": "cmd+2"
},
"workbench.action.focusThirdEditorGroup": {
"label": "Cmd+3",
"userSettingsLabel": "cmd+3"
},
"workbench.action.focusFourthEditorGroup": {
"label": "Cmd+4",
"userSettingsLabel": "cmd+4"
},
"workbench.action.focusFifthEditorGroup": {
"label": "Cmd+5",
"userSettingsLabel": "cmd+5"
},
"workbench.action.focusLeftGroup": {
"label": "⌘K ⌘←",
"isNative": false,
"userSettingsLabel": "cmd+k cmd+left"
},
"workbench.action.focusRightGroup": {
"label": "⌘K ⌘→",
"isNative": false,
"userSettingsLabel": "cmd+k cmd+right"
},
"workbench.action.focusAboveGroup": {
"label": "⌘K ⌘↑",
"isNative": false,
"userSettingsLabel": "cmd+k cmd+up"
},
"workbench.action.focusBelowGroup": {
"label": "⌘K ⌘↓",
"isNative": false,
"userSettingsLabel": "cmd+k cmd+down"
},
"workbench.action.quickOpen": {
"label": "Cmd+P",
"userSettingsLabel": "cmd+p"
},
"workbench.action.showAllSymbols": {
"label": "Cmd+T",
"userSettingsLabel": "cmd+t"
},
"workbench.action.gotoSymbol": {
"label": "Shift+Cmd+O",
"userSettingsLabel": "shift+cmd+o"
},
"editor.action.revealDefinition": {
"label": "Space G D",
"isNative": false,
"userSettingsLabel": "space g d"
},
"editor.action.goToImplementation": {
"label": "Space G I",
"isNative": false,
"userSettingsLabel": "space g i"
},
"editor.action.goToReferences": {
"label": "Space G R",
"isNative": false,
"userSettingsLabel": "space g r"
},
"workbench.action.gotoLine": {
"label": "Ctrl+G",
"userSettingsLabel": "ctrl+g"
},
"editor.action.jumpToBracket": {
"label": "Shift+Cmd+\\",
"userSettingsLabel": "shift+cmd+\\"
},
"editor.action.marker.nextInFiles": {
"label": "F8",
"userSettingsLabel": "f8"
},
"editor.action.marker.prevInFiles": {
"label": "Shift+F8",
"userSettingsLabel": "shift+f8"
},
"editor.action.dirtydiff.next": {
"label": "Alt+F3",
"userSettingsLabel": "alt+f3"
},
"editor.action.dirtydiff.previous": {
"label": "Shift+Alt+F3",
"userSettingsLabel": "shift+alt+f3"
},
"workbench.action.debug.start": {
"label": "F5",
"userSettingsLabel": "f5"
},
"workbench.action.debug.run": {
"label": "Ctrl+F5",
"userSettingsLabel": "ctrl+f5"
},
"workbench.action.debug.stop": {
"label": "Shift+F5",
"userSettingsLabel": "shift+f5"
},
"workbench.action.debug.restart": {
"label": "Shift+Cmd+F5",
"userSettingsLabel": "shift+cmd+f5"
},
"workbench.action.debug.stepOver": {
"label": "F10",
"userSettingsLabel": "f10"
},
"workbench.action.debug.stepInto": {
"label": "F11",
"userSettingsLabel": "f11"
},
"workbench.action.debug.stepOut": {
"label": "Shift+F11",
"userSettingsLabel": "shift+f11"
},
"workbench.action.debug.continue": {
"label": "F5",
"userSettingsLabel": "f5"
},
"editor.debug.action.toggleBreakpoint": {
"label": "F9",
"userSettingsLabel": "f9"
},
"editor.debug.action.toggleInlineBreakpoint": {
"label": "Shift+F9",
"userSettingsLabel": "shift+f9"
},
"workbench.action.terminal.new": {
"label": "Ctrl+Shift+`",
"userSettingsLabel": "ctrl+shift+`"
},
"workbench.action.terminal.split": {
"label": "Cmd+\\",
"userSettingsLabel": "cmd+\\"
},
"workbench.action.tasks.build": {
"label": "Shift+Cmd+B",
"userSettingsLabel": "shift+cmd+b"
},
"workbench.action.openSettings": {
"label": "Cmd+,",
"userSettingsLabel": "cmd+,"
},
"workbench.action.openGlobalKeybindings": {
"label": "⌘K ⌘S",
"isNative": false,
"userSettingsLabel": "cmd+k cmd+s"
},
"workbench.action.selectTheme": {
"label": "⌘K ⌘T",
"isNative": false,
"userSettingsLabel": "cmd+k cmd+t"
}
}
},
"theme": "vs-dark",
"themeBackground": "#1a1b26",
"windowSplash": {
"zoomLevel": 0,
"baseTheme": "vs-dark",
"colorInfo": {
"foreground": "#787c99",
"background": "#1a1b26",
"editorBackground": "#1a1b26",
"titleBarBackground": "#16161e",
"titleBarBorder": "#101014",
"activityBarBackground": "#16161e",
"activityBarBorder": "#16161e",
"sideBarBackground": "#16161e",
"sideBarBorder": "#101014",
"statusBarBackground": "#16161e",
"statusBarBorder": "#101014",
"statusBarNoFolderBackground": "#16161e",
"windowBorder": "#0d0f17"
},
"layoutInfo": {
"sideBarSide": "left",
"editorPartMinWidth": 220,
"titleBarHeight": 35,
"activityBarWidth": 0,
"sideBarWidth": 0,
"statusBarHeight": 22,
"windowBorder": true,
"windowBorderRadius": "5px"
}
},
"windowsState": {
"lastActiveWindow": {
"folder": "file:///Users/santiago.sanchez/Code/NodeJS/Pager/edge-api-admin",
"backupPath": "/Users/santiago.sanchez/Library/Application Support/Windsurf/Backups/b17b97eff3bb3d8d6941b9ae1234808b",
"uiState": {
"mode": 1,
"x": 572,
"y": 13,
"width": 2363,
"height": 1259
}
},
"openedWindows": []
}
}
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal'&&sideBarFocus && !inputFocus"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible",
},
// {
// "key": "space w",
// "command": "workbench.action.files.save",
// "when": "vim.mode == 'Normal' && !editorTextFocus || !inputFocus"
// },
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
// {
// "key": "space c a",
// "command": "editor.action.codeAction",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space c r",
// "command": "editor.action.rename",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space c s",
// "command": "workbench.action.gotoSymbol",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space b d",
// "command": "workbench.action.closeActiveEditor",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space g d",
// "command": "editor.action.revealDefinition",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space g r",
// "command": "editor.action.goToReferences",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
{
"key": "space g i",
"command": "editor.action.goToImplementation",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space /",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)",
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
{
"key": "space",
"command": "type",
"args": { "text": " " },
"when": "vim.mode=='Insert'&&editorTextFocus"
},
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal'&&sideBarFocus && !inputFocus"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible",
},
{
"key": "space x",
"command": "workbench.action.closeActiveEditor",
"when": "neovim.mode == 'Normal' && !editorTextFocus || editorTextFocus"
},
{
"key": "space w",
"command": "workbench.action.files.save",
"when": "neovim.mode == 'Normal' && !editorTextFocus || editorTextFocus"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "neovim.mode == 'Normal' && !editorTextFocus || editorTextFocus"
},
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// Coding
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c a",
"command": "editor.action.codeAction",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c r",
"command": "editor.action.rename",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c s",
"command": "workbench.action.gotoSymbol",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g d",
"command": "editor.action.revealDefinition",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g r",
"command": "editor.action.goToReferences",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g i",
"command": "editor.action.goToImplementation",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space s g",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)",
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "c",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "enter",
"command": "workbench.action.keepEditor",
"when": "inQuickPick && !inputFocus && !terminalFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal' && sideBarFocus && !inputFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible && !terminalFocus && !inQuickOpen",
},
{
"key": "space w",
"command": "workbench.action.files.save",
"when": "vim.mode == 'Normal' && !editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space q",
"command": "workbench.action.closeEditorsInGroup",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && editorTextFocus"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c a",
"command": "editor.action.codeAction",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c r",
"command": "editor.action.rename",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c s",
"command": "workbench.action.gotoSymbol",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "ctrl-d",
"command": "workbench.action.closeActiveEditor",
"when": "inQuickOpen"
},
{
"key": "space g d",
"command": "editor.action.revealDefinition",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g r",
"command": "editor.action.goToReferences",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g i",
"command": "editor.action.goToImplementation",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space /",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen",
},
{
"key": "space v s",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.splitEditorRight",
"workbench.action.showAllEditors"
]
},
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space s s",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"workbench.action.showAllEditors"
]
},
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
// {
// "key": "space ,",
// "command": "workbench.action.showAllEditors",
// "when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
// },
// {
// "key": "space e",
// "command": "runCommands",
// "args": {
// "commands": [
// "workbench.action.toggleSidebarVisibility",
// "workbench.files.action.focusFilesExplorer"
// ]
// },
// "when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus"
// },
// {
// "key": "space e",
// "command": "runCommands",
// "args": {
// "commands": [
// "workbench.action.toggleSidebarVisibility",
// "workbench.action.focusActiveEditorGroup"
// ]
// },
// "when": "vim.mode=='Normal'&&sideBarFocus && !inputFocus"
// },
// {
// "key": "space e",
// "command": "workbench.action.toggleSidebarVisibility",
// "when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible",
// },
// {
// "key": "space w",
// "command": "workbench.action.files.save",
// "when": "vim.mode == 'Normal' && !editorTextFocus || editorTextFocus"
// },
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c a",
"command": "editor.action.codeAction",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c r",
"command": "editor.action.rename",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c s",
"command": "workbench.action.gotoSymbol",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g d",
"command": "editor.action.revealDefinition",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g r",
"command": "editor.action.goToReferences",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g i",
"command": "editor.action.goToImplementation",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space /",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "neovim.mode == 'Normal' && !editorTextFocus || editorTextFocus"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)",
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "enter",
"command": "workbench.action.keepEditor",
"when": "inQuickPick && !inputFocus && !terminalFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal' && sideBarFocus && !inputFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible && !terminalFocus && !inQuickOpen",
},
{
"key": "space w",
"command": "workbench.action.files.save",
"when": "vim.mode == 'Normal' && !editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space q",
"command": "workbench.action.closeEditorsInGroup",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && editorTextFocus"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c a",
"command": "editor.action.codeAction",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c r",
"command": "editor.action.rename",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c s",
"command": "workbench.action.gotoSymbol",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "ctrl-d",
"command": "workbench.action.closeWindow",
"when": "inQuickOpen && !inputFocus"
},
{
"key": "space g d",
"command": "editor.action.revealDefinition",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g r",
"command": "editor.action.goToReferences",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g i",
"command": "editor.action.goToImplementation",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space /",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen",
},
{
"key": "space v s",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.splitEditorRight",
"workbench.action.showAllEditors"
]
},
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space s s",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"workbench.action.showAllEditors"
]
},
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal'&&sideBarFocus && !inputFocus"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible",
},
// {
// "key": "space w",
// "command": "workbench.action.files.save",
// "when": "vim.mode == 'Normal' && !editorTextFocus || !inputFocus"
// },
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
// {
// "key": "space c a",
// "command": "editor.action.codeAction",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space c r",
// "command": "editor.action.rename",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space c s",
// "command": "workbench.action.gotoSymbol",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space b d",
// "command": "workbench.action.closeActiveEditor",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space g d",
// "command": "editor.action.revealDefinition",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space g r",
// "command": "editor.action.goToReferences",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space g i",
// "command": "editor.action.goToImplementation",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space /",
// "command": "workbench.action.findInFiles",
// "when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
// },
// {
// "key": "space f f",
// "command": "workbench.action.quickOpen",
// "when": "neovim.mode == 'Normal' && !editorTextFocus || editorTextFocus"
// },
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)",
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal'&&sideBarFocus && !inputFocus"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible",
},
{
"key": "space w",
"command": "workbench.action.files.save",
"when": "vim.mode == 'Normal' && !editorTextFocus"
},
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && editorTextFocus"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c a",
"command": "editor.action.codeAction",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c r",
"command": "editor.action.rename",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c s",
"command": "workbench.action.gotoSymbol",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g d",
"command": "editor.action.revealDefinition",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g r",
"command": "editor.action.goToReferences",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g i",
"command": "editor.action.goToImplementation",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space /",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)",
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal'&&sideBarFocus && !inputFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible && !terminalFocus && !inQuickOpen",
},
{
"key": "space w",
"command": "workbench.action.files.save",
"when": "vim.mode == 'Normal' && !editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && editorTextFocus"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c a",
"command": "editor.action.codeAction",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c r",
"command": "editor.action.rename",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c s",
"command": "workbench.action.gotoSymbol",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g d",
"command": "editor.action.revealDefinition",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g r",
"command": "editor.action.goToReferences",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g i",
"command": "editor.action.goToImplementation",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space /",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen",
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "enter",
"command": "workbench.action.keepEditor",
"when": "inQuickPick && !inputFocus && !terminalFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal' && sideBarFocus && !inputFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible && !terminalFocus && !inQuickOpen",
},
{
"key": "space w",
"command": "workbench.action.files.save",
"when": "vim.mode == 'Normal' && !editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space q",
"command": "workbench.action.closeEditorsInGroup",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space Q",
"command": "workbench.action.closeAllEditors",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && editorTextFocus"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c a",
"command": "editor.action.codeAction",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c r",
"command": "editor.action.rename",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c s",
"command": "workbench.action.gotoSymbol",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g d",
"command": "editor.action.revealDefinition",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g r",
"command": "editor.action.goToReferences",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g i",
"command": "editor.action.goToImplementation",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space /",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen",
},
{
"key": "space v s",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.splitEditorRight",
"workbench.action.showAllEditors"
]
},
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space s s",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"workbench.action.showAllEditors"
]
},
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal'&&sideBarFocus && !inputFocus"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible",
},
// {
// "key": "space w",
// "command": "workbench.action.files.save",
// "when": "vim.mode == 'Normal' && !editorTextFocus || !inputFocus"
// },
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c a",
"command": "editor.action.codeAction",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c r",
"command": "editor.action.rename",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c s",
"command": "workbench.action.gotoSymbol",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g d",
"command": "editor.action.revealDefinition",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g r",
"command": "editor.action.goToReferences",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g i",
"command": "editor.action.goToImplementation",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space /",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)",
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
// {
// "key": "space ,",
// "command": "workbench.action.showAllEditors",
// "when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
// },
// {
// "key": "space e",
// "command": "runCommands",
// "args": {
// "commands": [
// "workbench.action.toggleSidebarVisibility",
// "workbench.files.action.focusFilesExplorer"
// ]
// },
// "when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus"
// },
// {
// "key": "space e",
// "command": "runCommands",
// "args": {
// "commands": [
// "workbench.action.toggleSidebarVisibility",
// "workbench.action.focusActiveEditorGroup"
// ]
// },
// "when": "vim.mode=='Normal'&&sideBarFocus && !inputFocus"
// },
// {
// "key": "space e",
// "command": "workbench.action.toggleSidebarVisibility",
// "when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible",
// },
// {
// "key": "space w",
// "command": "workbench.action.files.save",
// "when": "vim.mode == 'Normal' && !editorTextFocus || editorTextFocus"
// },
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
// {
// "key": "space c a",
// "command": "editor.action.codeAction",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space c r",
// "command": "editor.action.rename",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space c s",
// "command": "workbench.action.gotoSymbol",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space b d",
// "command": "workbench.action.closeActiveEditor",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space g d",
// "command": "editor.action.revealDefinition",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space g r",
// "command": "editor.action.goToReferences",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space g i",
// "command": "editor.action.goToImplementation",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space /",
// "command": "workbench.action.findInFiles",
// "when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
// },
// {
// "key": "space f f",
// "command": "workbench.action.quickOpen",
// "when": "neovim.mode == 'Normal' && !editorTextFocus || editorTextFocus"
// },
// {
// "key": "space g g",
// "command": "runCommands",
// "args": {
// "commands": ["workbench.view.scm", "workbench.scm.focus"]
// },
// "when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)",
// },
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal'&&sideBarFocus && !inputFocus"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible",
},
// {
// "key": "space w",
// "command": "workbench.action.files.save",
// "when": "vim.mode == 'Normal' && !editorTextFocus || !inputFocus"
// },
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
// {
// "key": "space c a",
// "command": "editor.action.codeAction",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space c r",
// "command": "editor.action.rename",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space c s",
// "command": "workbench.action.gotoSymbol",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space b d",
// "command": "workbench.action.closeActiveEditor",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space g d",
// "command": "editor.action.revealDefinition",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space g r",
// "command": "editor.action.goToReferences",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space g i",
// "command": "editor.action.goToImplementation",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space /",
// "command": "workbench.action.findInFiles",
// "when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
// },
// {
// "key": "space f f",
// "command": "workbench.action.quickOpen",
// "when": "neovim.mode == 'Normal' && !editorTextFocus || editorTextFocus"
// },
// {
// "key": "space g g",
// "command": "runCommands",
// "args": {
// "commands": ["workbench.view.scm", "workbench.scm.focus"]
// },
// "when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)",
// },
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "enter",
"command": "workbench.action.keepEditor",
"when": "inQuickPick && !inputFocus && !terminalFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal' && sideBarFocus && !inputFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible && !terminalFocus && !inQuickOpen",
},
{
"key": "space w",
"command": "workbench.action.files.save",
"when": "vim.mode == 'Normal' && !editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space q",
"command": "workbench.action.closeEditorsInGroup",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && editorTextFocus"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c a",
"command": "editor.action.codeAction",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c r",
"command": "editor.action.rename",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c s",
"command": "workbench.action.gotoSymbol",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "d",
"command": "workbench.action.closeActiveEditor",
"when": "inQuickOpen && !inputFocus"
},
{
"key": "space g d",
"command": "editor.action.revealDefinition",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g r",
"command": "editor.action.goToReferences",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g i",
"command": "editor.action.goToImplementation",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space /",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen",
},
{
"key": "space v s",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.splitEditorRight",
"workbench.action.showAllEditors"
]
},
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space s s",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"workbench.action.showAllEditors"
]
},
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal'&&sideBarFocus && !inputFocus"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible",
},
{
"key": "space w",
"command": "workbench.action.files.save",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c a",
"command": "editor.action.codeAction",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c r",
"command": "editor.action.rename",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c s",
"command": "workbench.action.gotoSymbol",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g d",
"command": "editor.action.revealDefinition",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g r",
"command": "editor.action.goToReferences",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g i",
"command": "editor.action.goToImplementation",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space /",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)",
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal'&&sideBarFocus && !inputFocus"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible",
},
// {
// "key": "space w",
// "command": "workbench.action.files.save",
// "when": "vim.mode == 'Normal' && !editorTextFocus || !inputFocus"
// },
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
// {
// "key": "space c a",
// "command": "editor.action.codeAction",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space c r",
// "command": "editor.action.rename",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space c s",
// "command": "workbench.action.gotoSymbol",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space b d",
// "command": "workbench.action.closeActiveEditor",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space g d",
// "command": "editor.action.revealDefinition",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space g r",
// "command": "editor.action.goToReferences",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space g i",
// "command": "editor.action.goToImplementation",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space /",
// "command": "workbench.action.findInFiles",
// "when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
// },
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "neovim.mode == 'Normal' && !editorTextFocus || editorTextFocus"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)",
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "enter",
"command": "workbench.action.keepEditor",
"when": "inQuickPick && !inputFocus && !terminalFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal' && sideBarFocus && !inputFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible && !terminalFocus && !inQuickOpen",
},
{
"key": "space w",
"command": "workbench.action.files.save",
"when": "vim.mode == 'Normal' && !editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space q",
"command": "workbench.action.closeEditorsInGroup",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && editorTextFocus"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c a",
"command": "editor.action.codeAction",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c r",
"command": "editor.action.rename",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c s",
"command": "workbench.action.gotoSymbol",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "inQuickOpen && !inputFocus"
},
{
"key": "space g d",
"command": "editor.action.revealDefinition",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g r",
"command": "editor.action.goToReferences",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g i",
"command": "editor.action.goToImplementation",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space /",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen",
},
{
"key": "space v s",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.splitEditorRight",
"workbench.action.showAllEditors"
]
},
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space s s",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"workbench.action.showAllEditors"
]
},
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "enter",
"command": "workbench.action.keepEditor",
"when": "inQuickPick && !inputFocus && !terminalFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal'&&sideBarFocus && !inputFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible && !terminalFocus && !inQuickOpen",
},
{
"key": "space w",
"command": "workbench.action.files.save",
"when": "vim.mode == 'Normal' && !editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && editorTextFocus"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c a",
"command": "editor.action.codeAction",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c r",
"command": "editor.action.rename",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c s",
"command": "workbench.action.gotoSymbol",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g d",
"command": "editor.action.revealDefinition",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g r",
"command": "editor.action.goToReferences",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g i",
"command": "editor.action.goToImplementation",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space /",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen",
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal'&&sideBarFocus && !inputFocus"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible",
},
// {
// "key": "space w",
// "command": "workbench.action.files.save",
// "when": "vim.mode == 'Normal' && !editorTextFocus || !inputFocus"
// },
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
// {
// "key": "space c a",
// "command": "editor.action.codeAction",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space c r",
// "command": "editor.action.rename",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space c s",
// "command": "workbench.action.gotoSymbol",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space b d",
// "command": "workbench.action.closeActiveEditor",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space g d",
// "command": "editor.action.revealDefinition",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space g r",
// "command": "editor.action.goToReferences",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space g i",
// "command": "editor.action.goToImplementation",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space /",
// "command": "workbench.action.findInFiles",
// "when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
// },
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)",
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "enter",
"command": "workbench.action.keepEditor",
"when": "inQuickPick && !inputFocus && !terminalFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal' && sideBarFocus && !inputFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible && !terminalFocus && !inQuickOpen",
},
{
"key": "space w",
"command": "workbench.action.files.save",
"when": "vim.mode == 'Normal' && !editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space q",
"command": "workbench.action.closeEditorsInGroup",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && editorTextFocus"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c a",
"command": "editor.action.codeAction",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c r",
"command": "editor.action.rename",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c s",
"command": "workbench.action.gotoSymbol",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "inQuickOpen"
},
{
"key": "space g d",
"command": "editor.action.revealDefinition",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g r",
"command": "editor.action.goToReferences",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g i",
"command": "editor.action.goToImplementation",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space /",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen",
},
{
"key": "space v s",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.splitEditorRight",
"workbench.action.showAllEditors"
]
},
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space s s",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"workbench.action.showAllEditors"
]
},
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
{"version":1,"resource":"vscode-userdata:/Users/santiago.sanchez/Library/Application%20Support/Windsurf/User/keybindings.json","entries":[{"id":"XyK2.json","timestamp":1734370203990},{"id":"wY8U.json","timestamp":1734370257900},{"id":"gwvk.json","timestamp":1734370533342},{"id":"3C3J.json","timestamp":1734370558236},{"id":"UOTB.json","timestamp":1734371052070},{"id":"MS6B.json","timestamp":1734371366440},{"id":"exQ9.json","timestamp":1734371984467},{"id":"LaEz.json","timestamp":1734372003952},{"id":"Q7Zr.json","timestamp":1734372024031},{"id":"4HLJ.json","timestamp":1734372052143},{"id":"cLlh.json","timestamp":1734372093025},{"id":"hvla.json","timestamp":1734372120687},{"id":"zIx4.json","timestamp":1734372156185},{"id":"cLSc.json","timestamp":1734372213145},{"id":"vhI5.json","timestamp":1734372274076},{"id":"FVSC.json","timestamp":1734372365185},{"id":"8yoy.json","timestamp":1734372514716},{"id":"dUk8.json","timestamp":1734372529844},{"id":"E9jS.json","timestamp":1734372587204},{"id":"QEA5.json","timestamp":1734372622764},{"id":"0VF0.json","timestamp":1734372673886},{"id":"bUKO.json","timestamp":1734372692542},{"id":"X8VQ.json","timestamp":1734372726702},{"id":"DK2p.json","timestamp":1734372791645},{"id":"H6zj.json","timestamp":1734373237281},{"id":"9PVo.json","timestamp":1734374728724},{"id":"W0yA.json","timestamp":1734451486465},{"id":"Ajpm.json","timestamp":1734451510381},{"id":"rMFW.json","timestamp":1734453397849},{"id":"RGpU.json","timestamp":1734453504123},{"id":"J8Yo.json","timestamp":1734453558507},{"id":"e1uR.json","timestamp":1734453651352},{"id":"iRXP.json","timestamp":1734453910333},{"id":"BmVJ.json","timestamp":1734454110538},{"id":"EIK9.json","timestamp":1734454273576},{"id":"WQPe.json","timestamp":1734454325379},{"id":"e0mM.json","timestamp":1734454428367},{"id":"Xf00.json","timestamp":1734454457821},{"id":"SQKM.json","timestamp":1734454515378},{"id":"cn9Z.json","timestamp":1734454674264},{"id":"Mgv2.json","timestamp":1734454752099},{"id":"IaiC.json","timestamp":1734454932163},{"id":"ndz3.json","timestamp":1734454959477},{"id":"3V6x.json","timestamp":1734454974524},{"id":"sDML.json","timestamp":1734455090780},{"id":"Jpsg.json","timestamp":1734455245818},{"id":"8hKz.json","timestamp":1734455262755},{"id":"ljAq.json","timestamp":1734455295030},{"id":"h8rr.json","timestamp":1734455367188},{"id":"mmd1.json","timestamp":1734455395003}]}
[
{
"key": "space",
"command": "type",
"args": { "text": " " },
"when": "vim.mode=='Insert'&&editorTextFocus"
},
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal'&&sideBarFocus && !inputFocus"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible",
},
{
"key": "space w",
"command": "workbench.action.files.save",
"when": "vim.mode == 'Normal' && !editorTextFocus || editorTextFocus"
},
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c a",
"command": "editor.action.codeAction",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c r",
"command": "editor.action.rename",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c s",
"command": "workbench.action.gotoSymbol",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g d",
"command": "editor.action.revealDefinition",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g r",
"command": "editor.action.goToReferences",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g i",
"command": "editor.action.goToImplementation",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space /",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "neovim.mode == 'Normal' && !editorTextFocus || editorTextFocus"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)",
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal'&&sideBarFocus && !inputFocus"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible",
},
// {
// "key": "space w",
// "command": "workbench.action.files.save",
// "when": "vim.mode == 'Normal' && !editorTextFocus || !inputFocus"
// },
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
// {
// "key": "space c a",
// "command": "editor.action.codeAction",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space c r",
// "command": "editor.action.rename",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space c s",
// "command": "workbench.action.gotoSymbol",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space b d",
// "command": "workbench.action.closeActiveEditor",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space g d",
// "command": "editor.action.revealDefinition",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space g r",
// "command": "editor.action.goToReferences",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space g i",
// "command": "editor.action.goToImplementation",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space /",
// "command": "workbench.action.findInFiles",
// "when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
// },
// {
// "key": "space f f",
// "command": "workbench.action.quickOpen",
// "when": "neovim.mode == 'Normal' && !editorTextFocus || editorTextFocus"
// },
// {
// "key": "space g g",
// "command": "runCommands",
// "args": {
// "commands": ["workbench.view.scm", "workbench.scm.focus"]
// },
// "when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)",
// },
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
{
"key": "space",
"command": "type",
"args": { "text": " " },
"when": "editorTextFocus && vim.mode == 'Insert'"
},
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal'&&sideBarFocus && !inputFocus"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible",
},
{
"key": "space x",
"command": "workbench.action.closeActiveEditor",
"when": "neovim.mode == 'Normal' && !editorTextFocus || editorTextFocus"
},
{
"key": "space w",
"command": "workbench.action.files.save",
"when": "neovim.mode == 'Normal' && !editorTextFocus || editorTextFocus"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "neovim.mode == 'Normal' && !editorTextFocus || editorTextFocus"
},
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// Coding
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c a",
"command": "editor.action.codeAction",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c r",
"command": "editor.action.rename",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c s",
"command": "workbench.action.gotoSymbol",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g d",
"command": "editor.action.revealDefinition",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g r",
"command": "editor.action.goToReferences",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g i",
"command": "editor.action.goToImplementation",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space s g",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)",
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "c",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal'&&sideBarFocus && !inputFocus"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible",
},
{
"key": "space w",
"command": "workbench.action.files.save",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c a",
"command": "editor.action.codeAction",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c r",
"command": "editor.action.rename",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c s",
"command": "workbench.action.gotoSymbol",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g d",
"command": "editor.action.revealDefinition",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g r",
"command": "editor.action.goToReferences",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g i",
"command": "editor.action.goToImplementation",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space /",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)",
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "enter",
"command": "workbench.action.keepEditor",
"when": "inQuickPick && !inputFocus && !terminalFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus && !terminalFocus && !inQuickOpen && !windsurf.chatPanelView.active"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal' && sideBarFocus && !inputFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible && !terminalFocus && !inQuickOpen",
},
{
"key": "space w",
"command": "workbench.action.files.save",
"when": "vim.mode == 'Normal' && !editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space q",
"command": "workbench.action.closeEditorsInGroup",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && editorTextFocus"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c a",
"command": "editor.action.codeAction",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c r",
"command": "editor.action.rename",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c s",
"command": "workbench.action.gotoSymbol",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g d",
"command": "editor.action.revealDefinition",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g r",
"command": "editor.action.goToReferences",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g i",
"command": "editor.action.goToImplementation",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space /",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen",
},
{
"key": "space v s",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.splitEditorRight",
"workbench.action.showAllEditors"
]
},
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space s s",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"workbench.action.showAllEditors"
]
},
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal'&&sideBarFocus && !inputFocus"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible",
},
{
"key": "space w",
"command": "workbench.action.files.save",
"when": "vim.mode == 'Normal' && !editorTextFocus || editorTextFocus"
},
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
// {
// "key": "space c a",
// "command": "editor.action.codeAction",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space c r",
// "command": "editor.action.rename",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space c s",
// "command": "workbench.action.gotoSymbol",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space b d",
// "command": "workbench.action.closeActiveEditor",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space g d",
// "command": "editor.action.revealDefinition",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space g r",
// "command": "editor.action.goToReferences",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space g i",
// "command": "editor.action.goToImplementation",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space /",
// "command": "workbench.action.findInFiles",
// "when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
// },
// {
// "key": "space f f",
// "command": "workbench.action.quickOpen",
// "when": "neovim.mode == 'Normal' && !editorTextFocus || editorTextFocus"
// },
// {
// "key": "space g g",
// "command": "runCommands",
// "args": {
// "commands": ["workbench.view.scm", "workbench.scm.focus"]
// },
// "when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)",
// },
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "enter",
"command": "workbench.action.keepEditor",
"when": "inQuickPick && !inputFocus && !terminalFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal' && sideBarFocus && !inputFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible && !terminalFocus && !inQuickOpen",
},
{
"key": "space w",
"command": "workbench.action.files.save",
"when": "vim.mode == 'Normal' && !editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space q",
"command": "workbench.action.closeEditorsInGroup",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && editorTextFocus"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c a",
"command": "editor.action.codeAction",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c r",
"command": "editor.action.rename",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c s",
"command": "workbench.action.gotoSymbol",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "alt-d",
"command": "workbench.action.closeActiveEditor",
"when": "inQuickOpen && !inputFocus"
},
{
"key": "space g d",
"command": "editor.action.revealDefinition",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g r",
"command": "editor.action.goToReferences",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g i",
"command": "editor.action.goToImplementation",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space /",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen",
},
{
"key": "space v s",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.splitEditorRight",
"workbench.action.showAllEditors"
]
},
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space s s",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"workbench.action.showAllEditors"
]
},
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "enter",
"command": "workbench.action.keepEditor",
"when": "inQuickPick && !inputFocus && !terminalFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal'&&sideBarFocus && !inputFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible && !terminalFocus && !inQuickOpen",
},
{
"key": "space w",
"command": "workbench.action.files.save",
"when": "vim.mode == 'Normal' && !editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && editorTextFocus"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c a",
"command": "editor.action.codeAction",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c r",
"command": "editor.action.rename",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c s",
"command": "workbench.action.gotoSymbol",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g d",
"command": "editor.action.revealDefinition",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g r",
"command": "editor.action.goToReferences",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g i",
"command": "editor.action.goToImplementation",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space /",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen",
},
{
"key": "space v s",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.splitEditorRight",
"workbench.action.showAllEditors"
]
},
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space s s",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"workbench.action.showAllEditors"
]
},
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "enter",
"command": "workbench.action.openEditorAtIndex",
"when": "inQuickPick && !inputFocus && !terminalFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal'&&sideBarFocus && !inputFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible && !terminalFocus && !inQuickOpen",
},
{
"key": "space w",
"command": "workbench.action.files.save",
"when": "vim.mode == 'Normal' && !editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && editorTextFocus"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c a",
"command": "editor.action.codeAction",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c r",
"command": "editor.action.rename",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c s",
"command": "workbench.action.gotoSymbol",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g d",
"command": "editor.action.revealDefinition",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g r",
"command": "editor.action.goToReferences",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g i",
"command": "editor.action.goToImplementation",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space /",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen",
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "enter",
"command": "workbench.action.keepEditor",
"when": "inQuickPick && !inputFocus && !terminalFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal' && sideBarFocus && !inputFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible && !terminalFocus && !inQuickOpen",
},
{
"key": "space w",
"command": "workbench.action.files.save",
"when": "vim.mode == 'Normal' && !editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space q",
"command": "workbench.action.closeEditorsInGroup",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && editorTextFocus"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c a",
"command": "editor.action.codeAction",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c r",
"command": "editor.action.rename",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c s",
"command": "workbench.action.gotoSymbol",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "b d",
"command": "workbench.action.closeWindow",
"when": "inQuickOpen && !inputFocus"
},
{
"key": "space g d",
"command": "editor.action.revealDefinition",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g r",
"command": "editor.action.goToReferences",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g i",
"command": "editor.action.goToImplementation",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space /",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen",
},
{
"key": "space v s",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.splitEditorRight",
"workbench.action.showAllEditors"
]
},
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space s s",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"workbench.action.showAllEditors"
]
},
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
{
"key": "space",
"command": "type",
"args": { "text": " " },
"when": "vim.mode=='Insert'&&editorTextFocus"
},
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal'&&sideBarFocus && !inputFocus"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible",
},
{
"key": "space w",
"command": "workbench.action.files.save",
"when": "vim.mode == 'Normal' && !editorTextFocus || editorTextFocus"
},
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
// {
// "key": "space c a",
// "command": "editor.action.codeAction",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space c r",
// "command": "editor.action.rename",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space c s",
// "command": "workbench.action.gotoSymbol",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space b d",
// "command": "workbench.action.closeActiveEditor",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space g d",
// "command": "editor.action.revealDefinition",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space g r",
// "command": "editor.action.goToReferences",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space g i",
// "command": "editor.action.goToImplementation",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space /",
// "command": "workbench.action.findInFiles",
// "when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
// },
// {
// "key": "space f f",
// "command": "workbench.action.quickOpen",
// "when": "neovim.mode == 'Normal' && !editorTextFocus || editorTextFocus"
// },
// {
// "key": "space g g",
// "command": "runCommands",
// "args": {
// "commands": ["workbench.view.scm", "workbench.scm.focus"]
// },
// "when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)",
// },
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "enter",
"command": "workbench.action.keepEditor",
"when": "inQuickPick && !inputFocus && !terminalFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal' && sideBarFocus && !inputFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible && !terminalFocus && !inQuickOpen",
},
{
"key": "space w",
"command": "workbench.action.files.save",
"when": "vim.mode == 'Normal' && !editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space q",
"command": "workbench.action.closeEditorsInGroup",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && editorTextFocus"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c a",
"command": "editor.action.codeAction",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c r",
"command": "editor.action.rename",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c s",
"command": "workbench.action.gotoSymbol",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g d",
"command": "editor.action.revealDefinition",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g r",
"command": "editor.action.goToReferences",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g i",
"command": "editor.action.goToImplementation",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space /",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen",
},
{
"key": "space v s",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.splitEditorRight",
"workbench.action.showAllEditors"
]
},
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space s s",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"workbench.action.showAllEditors"
]
},
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "enter",
"command": "workbench.action.keepEditor",
"when": "inQuickPick && !inputFocus && !terminalFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal' && sideBarFocus && !inputFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible && !terminalFocus && !inQuickOpen",
},
{
"key": "space w",
"command": "workbench.action.files.save",
"when": "vim.mode == 'Normal' && !editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space q",
"command": "workbench.action.closeEditorsInGroup",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && editorTextFocus"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c a",
"command": "editor.action.codeAction",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c r",
"command": "editor.action.rename",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c s",
"command": "workbench.action.gotoSymbol",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "ctrl-d",
"command": "workbench.action.closeActiveEditor",
"when": "inQuickOpen && !inputFocus"
},
{
"key": "space g d",
"command": "editor.action.revealDefinition",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g r",
"command": "editor.action.goToReferences",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g i",
"command": "editor.action.goToImplementation",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space /",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen",
},
{
"key": "space v s",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.splitEditorRight",
"workbench.action.showAllEditors"
]
},
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space s s",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"workbench.action.showAllEditors"
]
},
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "enter",
"command": "workbench.action.keepEditor",
"when": "inQuickPick && !inputFocus && !terminalFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal' && sideBarFocus && !inputFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible && !terminalFocus && !inQuickOpen",
},
{
"key": "space w",
"command": "workbench.action.files.save",
"when": "vim.mode == 'Normal' && !editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space q",
"command": "workbench.action.closeEditorsInGroup",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && editorTextFocus"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c a",
"command": "editor.action.codeAction",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c r",
"command": "editor.action.rename",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c s",
"command": "workbench.action.gotoSymbol",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g d",
"command": "editor.action.revealDefinition",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g r",
"command": "editor.action.goToReferences",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g i",
"command": "editor.action.goToImplementation",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space /",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen",
},
{
"key": "space v s",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.splitEditorRight",
"workbench.action.showAllEditors"
]
},
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space s s",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"workbench.action.showAllEditors"
]
},
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
{
"key": "space",
"command": "type",
"args": { "text": " " },
"when": "vim.mode=='Insert'&&editorTextFocus"
},
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal'&&sideBarFocus && !inputFocus"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible",
},
{
"key": "space w",
"command": "workbench.action.files.save",
"when": "vim.mode == 'Normal' && !editorTextFocus || editorTextFocus"
},
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c a",
"command": "editor.action.codeAction",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c r",
"command": "editor.action.rename",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c s",
"command": "workbench.action.gotoSymbol",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g d",
"command": "editor.action.revealDefinition",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g r",
"command": "editor.action.goToReferences",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g i",
"command": "editor.action.goToImplementation",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space /",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "neovim.mode == 'Normal' && !editorTextFocus || editorTextFocus"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)",
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "c",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "enter",
"command": "workbench.action.keepEditor",
"when": "inQuickPick && !inputFocus && !terminalFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal' && sideBarFocus && !inputFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible && !terminalFocus && !inQuickOpen",
},
{
"key": "space w",
"command": "workbench.action.files.save",
"when": "vim.mode == 'Normal' && !editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space q",
"command": "workbench.action.closeEditorsInGroup",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && editorTextFocus"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c a",
"command": "editor.action.codeAction",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c r",
"command": "editor.action.rename",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c s",
"command": "workbench.action.gotoSymbol",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "ctrl+d",
"command": "workbench.action.closeActiveEditor",
"when": "inQuickOpen && !inputFocus"
},
{
"key": "space g d",
"command": "editor.action.revealDefinition",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g r",
"command": "editor.action.goToReferences",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g i",
"command": "editor.action.goToImplementation",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space /",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen",
},
{
"key": "space v s",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.splitEditorRight",
"workbench.action.showAllEditors"
]
},
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space s s",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"workbench.action.showAllEditors"
]
},
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
{
"key": "space",
"command": "type",
"args": { "text": " " },
"when": "vim.mode=='Insert'&&editorTextFocus"
},
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
// {
// "key": "space ,",
// "command": "workbench.action.showAllEditors",
// "when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
// },
// {
// "key": "space e",
// "command": "runCommands",
// "args": {
// "commands": [
// "workbench.action.toggleSidebarVisibility",
// "workbench.files.action.focusFilesExplorer"
// ]
// },
// "when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus"
// },
// {
// "key": "space e",
// "command": "runCommands",
// "args": {
// "commands": [
// "workbench.action.toggleSidebarVisibility",
// "workbench.action.focusActiveEditorGroup"
// ]
// },
// "when": "vim.mode=='Normal'&&sideBarFocus && !inputFocus"
// },
// {
// "key": "space e",
// "command": "workbench.action.toggleSidebarVisibility",
// "when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible",
// },
// {
// "key": "space w",
// "command": "workbench.action.files.save",
// "when": "vim.mode == 'Normal' && !editorTextFocus || editorTextFocus"
// },
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
// {
// "key": "space c a",
// "command": "editor.action.codeAction",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space c r",
// "command": "editor.action.rename",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space c s",
// "command": "workbench.action.gotoSymbol",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space b d",
// "command": "workbench.action.closeActiveEditor",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space g d",
// "command": "editor.action.revealDefinition",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space g r",
// "command": "editor.action.goToReferences",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space g i",
// "command": "editor.action.goToImplementation",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space /",
// "command": "workbench.action.findInFiles",
// "when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
// },
// {
// "key": "space f f",
// "command": "workbench.action.quickOpen",
// "when": "neovim.mode == 'Normal' && !editorTextFocus || editorTextFocus"
// },
// {
// "key": "space g g",
// "command": "runCommands",
// "args": {
// "commands": ["workbench.view.scm", "workbench.scm.focus"]
// },
// "when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)",
// },
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal'&&sideBarFocus && !inputFocus"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible",
},
// {
// "key": "space w",
// "command": "workbench.action.files.save",
// "when": "vim.mode == 'Normal' && !editorTextFocus || !inputFocus"
// },
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
// {
// "key": "space c a",
// "command": "editor.action.codeAction",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space c r",
// "command": "editor.action.rename",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space c s",
// "command": "workbench.action.gotoSymbol",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space b d",
// "command": "workbench.action.closeActiveEditor",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space g d",
// "command": "editor.action.revealDefinition",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space g r",
// "command": "editor.action.goToReferences",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space g i",
// "command": "editor.action.goToImplementation",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
{
"key": "space /",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)",
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal'&&sideBarFocus && !inputFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible && !terminalFocus && !inQuickOpen",
},
{
"key": "space w",
"command": "workbench.action.files.save",
"when": "vim.mode == 'Normal' && !editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && editorTextFocus"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c a",
"command": "editor.action.codeAction",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c r",
"command": "editor.action.rename",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c s",
"command": "workbench.action.gotoSymbol",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g d",
"command": "editor.action.revealDefinition",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g r",
"command": "editor.action.goToReferences",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g i",
"command": "editor.action.goToImplementation",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space /",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen",
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.quickOpenPreviousRecentlyUsedEditorInGroup",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal'&&sideBarFocus && !inputFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible && !terminalFocus && !inQuickOpen",
},
{
"key": "space w",
"command": "workbench.action.files.save",
"when": "vim.mode == 'Normal' && !editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && editorTextFocus"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c a",
"command": "editor.action.codeAction",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c r",
"command": "editor.action.rename",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c s",
"command": "workbench.action.gotoSymbol",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g d",
"command": "editor.action.revealDefinition",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g r",
"command": "editor.action.goToReferences",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g i",
"command": "editor.action.goToImplementation",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space /",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen",
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "enter",
"command": "workbench.action.keepEditor",
"when": "inQuickPick && !inputFocus && !terminalFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal' && sideBarFocus && !inputFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible && !terminalFocus && !inQuickOpen",
},
{
"key": "space w",
"command": "workbench.action.files.save",
"when": "vim.mode == 'Normal' && !editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space q",
"command": "workbench.action.closeEditorsInGroup",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && editorTextFocus"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c a",
"command": "editor.action.codeAction",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c r",
"command": "editor.action.rename",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c s",
"command": "workbench.action.gotoSymbol",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "b d",
"command": "workbench.action.closeActiveEditor",
"when": "inQuickOpen && !inputFocus"
},
{
"key": "space g d",
"command": "editor.action.revealDefinition",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g r",
"command": "editor.action.goToReferences",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g i",
"command": "editor.action.goToImplementation",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space /",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen",
},
{
"key": "space v s",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.splitEditorRight",
"workbench.action.showAllEditors"
]
},
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space s s",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"workbench.action.showAllEditors"
]
},
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "enter",
"command": "workbench.action.keepEditor",
"when": "inQuickPick && !inputFocus && !terminalFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal' && sideBarFocus && !inputFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible && !terminalFocus && !inQuickOpen",
},
{
"key": "space w",
"command": "workbench.action.files.save",
"when": "vim.mode == 'Normal' && !editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space q",
"command": "workbench.action.closeEditorsInGroup",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && editorTextFocus"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c a",
"command": "editor.action.codeAction",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c r",
"command": "editor.action.rename",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c s",
"command": "workbench.action.gotoSymbol",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space d",
"command": "workbench.action.closeActiveEditor",
"when": "inQuickOpen && inputFocus"
},
{
"key": "space g d",
"command": "editor.action.revealDefinition",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g r",
"command": "editor.action.goToReferences",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g i",
"command": "editor.action.goToImplementation",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space /",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen",
},
{
"key": "space v s",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.splitEditorRight",
"workbench.action.showAllEditors"
]
},
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space s s",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"workbench.action.showAllEditors"
]
},
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
{
"key": "space",
"command": "type",
"args": { "text": " " },
"when": "vim.mode=='Insert'&&editorTextFocus"
},
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal'&&sideBarFocus && !inputFocus"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible",
},
{
"key": "space w",
"command": "workbench.action.files.save",
"when": "vim.mode == 'Normal' && !editorTextFocus || editorTextFocus"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "neovim.mode == 'Normal' && !editorTextFocus || editorTextFocus"
},
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// Coding
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c a",
"command": "editor.action.codeAction",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c r",
"command": "editor.action.rename",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c s",
"command": "workbench.action.gotoSymbol",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g d",
"command": "editor.action.revealDefinition",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g r",
"command": "editor.action.goToReferences",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g i",
"command": "editor.action.goToImplementation",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space s g",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)",
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "c",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal'&&sideBarFocus && !inputFocus"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible",
},
// {
// "key": "space w",
// "command": "workbench.action.files.save",
// "when": "vim.mode == 'Normal' && !editorTextFocus || !inputFocus"
// },
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c a",
"command": "editor.action.codeAction",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c r",
"command": "editor.action.rename",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c s",
"command": "workbench.action.gotoSymbol",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g d",
"command": "editor.action.revealDefinition",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g r",
"command": "editor.action.goToReferences",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g i",
"command": "editor.action.goToImplementation",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space /",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "neovim.mode == 'Normal' && !editorTextFocus || editorTextFocus"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)",
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal'&&sideBarFocus && !inputFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible && !terminalFocus && !inQuickOpen",
},
{
"key": "space w",
"command": "workbench.action.files.save",
"when": "vim.mode == 'Normal' && !editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && editorTextFocus"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c a",
"command": "editor.action.codeAction",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c r",
"command": "editor.action.rename",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c s",
"command": "workbench.action.gotoSymbol",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g d",
"command": "editor.action.revealDefinition",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g r",
"command": "editor.action.goToReferences",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g i",
"command": "editor.action.goToImplementation",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space /",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen",
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "enter",
"command": "workbench.action.keepEditor",
"when": "inQuickPick && !inputFocus && !terminalFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal' && sideBarFocus && !inputFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible && !terminalFocus && !inQuickOpen",
},
{
"key": "space w",
"command": "workbench.action.files.save",
"when": "vim.mode == 'Normal' && !editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space q",
"command": "workbench.action.closeEditorsInGroup",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && editorTextFocus"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c a",
"command": "editor.action.codeAction",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c r",
"command": "editor.action.rename",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c s",
"command": "workbench.action.gotoSymbol",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "inQuickOpen"
},
{
"key": "space g d",
"command": "editor.action.revealDefinition",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g r",
"command": "editor.action.goToReferences",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g i",
"command": "editor.action.goToImplementation",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space /",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen",
},
{
"key": "space v s",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.splitEditorRight",
"workbench.action.showAllEditors"
]
},
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space s s",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"workbench.action.showAllEditors"
]
},
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal'&&sideBarFocus && !inputFocus"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible",
},
{
"key": "space x",
"command": "workbench.action.closeActiveEditor",
"when": "neovim.mode == 'Normal' && !editorTextFocus || editorTextFocus"
},
{
"key": "space w",
"command": "workbench.action.files.save",
"when": "neovim.mode == 'Normal' && !editorTextFocus || editorTextFocus"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "neovim.mode == 'Normal' && !editorTextFocus || editorTextFocus"
},
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// Coding
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c a",
"command": "editor.action.codeAction",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c r",
"command": "editor.action.rename",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c s",
"command": "workbench.action.gotoSymbol",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g d",
"command": "editor.action.revealDefinition",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g r",
"command": "editor.action.goToReferences",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g i",
"command": "editor.action.goToImplementation",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space s g",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)",
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "c",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal'&&sideBarFocus && !inputFocus"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible",
},
{
"key": "space w",
"command": "workbench.action.files.save",
"when": "vim.mode == 'Normal' && !editorTextFocus"
},
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c a",
"command": "editor.action.codeAction",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c r",
"command": "editor.action.rename",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c s",
"command": "workbench.action.gotoSymbol",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g d",
"command": "editor.action.revealDefinition",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g r",
"command": "editor.action.goToReferences",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g i",
"command": "editor.action.goToImplementation",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space /",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)",
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "enter",
"command": "workbench.action.keepEditor",
"when": "inQuickPick && !inputFocus && !terminalFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal' && sideBarFocus && !inputFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible && !terminalFocus && !inQuickOpen",
},
{
"key": "space w",
"command": "workbench.action.files.save",
"when": "vim.mode == 'Normal' && !editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space q",
"command": "workbench.action.closeEditorsInGroup",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && editorTextFocus"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c a",
"command": "editor.action.codeAction",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c r",
"command": "editor.action.rename",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c s",
"command": "workbench.action.gotoSymbol",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space d",
"command": "workbench.action.closeActiveEditor",
"when": "inQuickOpen && !inputFocus"
},
{
"key": "space g d",
"command": "editor.action.revealDefinition",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g r",
"command": "editor.action.goToReferences",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g i",
"command": "editor.action.goToImplementation",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space /",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen",
},
{
"key": "space v s",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.splitEditorRight",
"workbench.action.showAllEditors"
]
},
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space s s",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"workbench.action.showAllEditors"
]
},
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal'&&sideBarFocus && !inputFocus"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible",
},
{
"key": "space x",
"command": "workbench.action.closeActiveEditor",
"when": "neovim.mode == 'Normal' && !editorTextFocus || editorTextFocus"
},
{
"key": "space w",
"command": "workbench.action.files.save",
"when": "neovim.mode == 'Normal' && !editorTextFocus || editorTextFocus"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "neovim.mode == 'Normal' && !editorTextFocus || editorTextFocus"
},
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// Coding
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c a",
"command": "editor.action.codeAction",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c r",
"command": "editor.action.rename",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c s",
"command": "workbench.action.gotoSymbol",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space space",
"command": "workbench.action.quickOpen",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space g d",
"command": "editor.action.revealDefinition",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g r",
"command": "editor.action.goToReferences",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space g i",
"command": "editor.action.goToImplementation",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space s g",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)",
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "c",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal'&&sideBarFocus && !inputFocus"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible",
},
// {
// "key": "space w",
// "command": "workbench.action.files.save",
// "when": "vim.mode == 'Normal' && !editorTextFocus || editorTextFocus"
// },
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
// {
// "key": "space c a",
// "command": "editor.action.codeAction",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space c r",
// "command": "editor.action.rename",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space c s",
// "command": "workbench.action.gotoSymbol",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space b d",
// "command": "workbench.action.closeActiveEditor",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space g d",
// "command": "editor.action.revealDefinition",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space g r",
// "command": "editor.action.goToReferences",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space g i",
// "command": "editor.action.goToImplementation",
// "when": "vim.mode == 'Normal' && editorTextFocus"
// },
// {
// "key": "space /",
// "command": "workbench.action.findInFiles",
// "when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)"
// },
// {
// "key": "space f f",
// "command": "workbench.action.quickOpen",
// "when": "neovim.mode == 'Normal' && !editorTextFocus || editorTextFocus"
// },
// {
// "key": "space g g",
// "command": "runCommands",
// "args": {
// "commands": ["workbench.view.scm", "workbench.scm.focus"]
// },
// "when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus)",
// },
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
{
"breadcrumbs.enabled": true,
"editor.minimap.enabled": false,
"editor.tabSize": 4,
"editor.suggestSelection": "first",
"eslint.run": "onSave",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
},
"go.gopath": "/Users/santiago.sanchez/Code/Go",
"go.formatTool": "goimports",
"go.useLanguageServer": true,
"sync.gist": "f0b285b5220d5ac07c470a19bd0de4a4",
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.easymotionMarkerBackgroundColor": "red",
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
"vim.normalModeKeyBindingsNonRecursive": [
{
"before": ["<tab>"],
"commands": ["workbench.action.nextEditor"]
},
{
"before": ["<S-tab>"],
"commands": ["workbench.action.previousEditor"]
},
{
"before": ["<leader>", "w"],
"commands": [":w"]
},
{
"before": ["<leader>", "q"],
"commands": [":q"]
}
],
"vim.insertModeKeyBindings": [
{
"before": ["j", "j"],
"after": ["<Esc>"]
}
],
"vim.leader": "<space>",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"windsurf.autocompleteSpeed": "fast",
"workbench.startupEditor": "newUntitledFile",
"workbench.iconTheme": "material-icon-theme",
"workbench.activityBar.visible": false,
"workbench.list.automaticKeyboardNavigation": false
}
{
"windsurf.autocompleteSpeed": "fast",
"sync.gist": "f0b285b5220d5ac07c470a19bd0de4a4"
}
{
"breadcrumbs.enabled": true,
"diffEditor.ignoreTrimWhitespace": false,
"editor.minimap.enabled": false,
"editor.tabSize": 4,
"editor.lineNumbers": "relative",
"editor.suggestSelection": "first",
"editor.inlineSuggest.enabled": true,
"editor.autoClosingBrackets": "always",
"editor.cursorSmoothCaretAnimation": "on",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
},
"eslint.run": "onSave",
"go.gopath": "/Users/santiago.sanchez/Code/Go",
"go.formatTool": "goimports",
"go.useLanguageServer": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"sync.gist": "f0b285b5220d5ac07c470a19bd0de4a4",
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.easymotionMarkerBackgroundColor": "red",
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
"vim.insertModeKeyBindings": [
{
"before": ["j", "k"],
"after": ["<Esc>"]
}
],
"vim.leader": "<space>",
"windsurf.autocompleteSpeed": "fast",
"window.menuBarVisible":"hidden",
"workbench.startupEditor": "newUntitledFile",
"workbench.iconTheme": "material-icon-theme",
"workbench.activityBar.visible": false,
"workbench.list.automaticKeyboardNavigation": false
}
{
"breadcrumbs.enabled": true,
"diffEditor.ignoreTrimWhitespace": false,
"editor.minimap.enabled": false,
"editor.tabSize": 4,
"editor.lineNumbers": "relative",
"editor.suggestSelection": "first",
"editor.inlineSuggest.enabled": true,
"editor.autoClosingBrackets": "always",
"editor.cursorSmoothCaretAnimation": "on",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
},
"eslint.run": "onSave",
"go.gopath": "/Users/santiago.sanchez/Code/Go",
"go.formatTool": "goimports",
"go.useLanguageServer": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"sync.gist": "f0b285b5220d5ac07c470a19bd0de4a4",
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.easymotionMarkerBackgroundColor": "red",
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
"vim.insertModeKeyBindingsNonRecursive": [],
"vim.insertModeKeyBindings": [
{
"before": ["j", "k"],
"after": ["<Esc>"]
}
],
"vim.leader": "<space>",
"windsurf.autocompleteSpeed": "fast",
"workbench.startupEditor": "newUntitledFile",
"workbench.iconTheme": "material-icon-theme",
"workbench.activityBar.location": "hidden",
"workbench.editor.showTabs": "none",
"workbench.colorTheme": "Tokyo Night Storm"
}
{
"breadcrumbs.enabled": true,
"diffEditor.ignoreTrimWhitespace": false,
"editor.minimap.enabled": false,
"editor.tabSize": 4,
"editor.lineNumbers": "relative",
"editor.suggestSelection": "first",
"editor.inlineSuggest.enabled": true,
"editor.autoClosingBrackets": "always",
"editor.cursorSmoothCaretAnimation": "on",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
},
"eslint.run": "onSave",
"go.gopath": "/Users/santiago.sanchez/Code/Go",
"go.formatTool": "goimports",
"go.useLanguageServer": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"sync.gist": "f0b285b5220d5ac07c470a19bd0de4a4",
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.easymotionMarkerBackgroundColor": "red",
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
"vim.insertModeKeyBindings": [
{
"before": ["j", "k"],
"after": ["<Esc>"]
}
],
"vim.leader": "<space>",
"windsurf.autocompleteSpeed": "fast",
"window.menuBarVisible":,
"workbench.startupEditor": "newUntitledFile",
"workbench.iconTheme": "material-icon-theme",
"workbench.activityBar.visible": false,
"workbench.list.automaticKeyboardNavigation": false
}
{
"breadcrumbs.enabled": true,
"diffEditor.ignoreTrimWhitespace": false,
"editor.minimap.enabled": false,
"editor.tabSize": 4,
"editor.lineNumbers": "relative",
"editor.suggestSelection": "first",
"editor.inlineSuggest.enabled": true,
"editor.autoClosingBrackets": "always",
"editor.cursorSmoothCaretAnimation": "on",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
},
"eslint.run": "onSave",
"go.gopath": "/Users/santiago.sanchez/Code/Go",
"go.formatTool": "goimports",
"go.useLanguageServer": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"sync.gist": "f0b285b5220d5ac07c470a19bd0de4a4",
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.easymotionMarkerBackgroundColor": "red",
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
"vim.insertModeKeyBindingsNonRecursive": [],
"vim.insertModeKeyBindings": [
{
"before": ["j", "k"],
"after": ["<Esc>"]
}
],
"vim.leader": "<space>",
"windsurf.autocompleteSpeed": "fast",
"workbench.startupEditor": "newUntitledFile",
"workbench.iconTheme": "material-icon-theme",
"workbench.activityBar.location": "hidden"
}
{
"breadcrumbs.enabled": true,
"diffEditor.ignoreTrimWhitespace": false,
"editor.minimap.enabled": false,
"editor.tabSize": 4,
"editor.lineNumbers": "relative",
"editor.suggestSelection": "first",
"editor.inlineSuggest.enabled": true,
"editor.autoClosingBrackets": "always",
"editor.cursorSmoothCaretAnimation": "on",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
},
"eslint.run": "onSave",
"go.gopath": "/Users/santiago.sanchez/Code/Go",
"go.formatTool": "goimports",
"go.useLanguageServer": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"sync.gist": "f0b285b5220d5ac07c470a19bd0de4a4",
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.easymotionMarkerBackgroundColor": "red",
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
"vim.normalModeKeyBindingsNonRecursive": [
{
"before": ["<tab>"],
"commands": ["workbench.action.nextEditor"]
},
{
"before": ["<S-tab>"],
"commands": ["workbench.action.previousEditor"]
},
{
"before": ["<leader>", "w"],
"commands": [":w"]
},
{
"before": ["<leader>", "q"],
"commands": [":q"]
}
],
"vim.insertModeKeyBindings": [
{
"before": ["j", "k"],
"after": ["<Esc>"]
}
],
"vim.leader": "<space>",
"windsurf.autocompleteSpeed": "fast",
"workbench.startupEditor": "newUntitledFile",
"workbench.iconTheme": "material-icon-theme",
"workbench.activityBar.visible": false,
"workbench.list.automaticKeyboardNavigation": false
}
{
"breadcrumbs.enabled": true,
"diffEditor.ignoreTrimWhitespace": false,
"editor.minimap.enabled": false,
"editor.tabSize": 4,
"editor.lineNumbers": "relative",
"editor.suggestSelection": "first",
"editor.inlineSuggest.enabled": true,
"editor.autoClosingBrackets": "always",
"editor.cursorSmoothCaretAnimation": "on",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
},
"eslint.run": "onSave",
"go.gopath": "/Users/santiago.sanchez/Code/Go",
"go.formatTool": "goimports",
"go.useLanguageServer": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"sync.gist": "f0b285b5220d5ac07c470a19bd0de4a4",
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.easymotionMarkerBackgroundColor": "red",
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
"vim.insertModeKeyBindingsNonRecursive": [],
"vim.insertModeKeyBindings": [
{
"before": ["j", "k"],
"after": ["<Esc>"]
}
],
"vim.leader": "<space>",
"windsurf.autocompleteSpeed": "fast",
"workbench.startupEditor": "newUntitledFile",
"workbench.iconTheme": "material-icon-theme",
"workbench.activityBar.location": "hidden",
"workbench.editor.showTabs": "none",
"workbench.colorTheme": "Catppuccin Mocha"
}
{
"breadcrumbs.enabled": true,
"diffEditor.ignoreTrimWhitespace": false,
"editor.minimap.enabled": false,
"editor.tabSize": 4,
"editor.lineNumbers": "relative",
"editor.suggestSelection": "first",
"editor.inlineSuggest.enabled": true,
"editor.autoClosingBrackets": "always",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
},
"eslint.run": "onSave",
"go.gopath": "/Users/santiago.sanchez/Code/Go",
"go.formatTool": "goimports",
"go.useLanguageServer": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"sync.gist": "f0b285b5220d5ac07c470a19bd0de4a4",
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.easymotionMarkerBackgroundColor": "red",
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
"vim.normalModeKeyBindingsNonRecursive": [
{
"before": ["<tab>"],
"commands": ["workbench.action.nextEditor"]
},
{
"before": ["<S-tab>"],
"commands": ["workbench.action.previousEditor"]
},
{
"before": ["<leader>", "w"],
"commands": [":w"]
},
{
"before": ["<leader>", "q"],
"commands": [":q"]
}
],
"vim.insertModeKeyBindings": [
{
"before": ["j", "k"],
"after": ["<Esc>"]
}
],
"vim.leader": "<space>",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"windsurf.autocompleteSpeed": "fast",
"workbench.startupEditor": "newUntitledFile",
"workbench.iconTheme": "material-icon-theme",
"workbench.activityBar.visible": false,
"workbench.list.automaticKeyboardNavigation": false
}
{
"breadcrumbs.enabled": true,
"diffEditor.ignoreTrimWhitespace": false,
"editor.minimap.enabled": false,
"editor.tabSize": 4,
"editor.lineNumbers": "relative",
"editor.suggestSelection": "first",
"editor.inlineSuggest.enabled": true,
"editor.autoClosingBrackets": "always",
"editor.cursorSmoothCaretAnimation": "on",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
},
"eslint.run": "onSave",
"go.gopath": "/Users/santiago.sanchez/Code/Go",
"go.formatTool": "goimports",
"go.useLanguageServer": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"sync.gist": "f0b285b5220d5ac07c470a19bd0de4a4",
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.easymotionMarkerBackgroundColor": "red",
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
"vim.insertModeKeyBindingsNonRecursive": [],
"vim.insertModeKeyBindings": [
{
"before": ["j", "k"],
"after": ["<Esc>"]
}
],
"vim.leader": "<space>",
"windsurf.autocompleteSpeed": "fast",
"workbench.startupEditor": "newUntitledFile",
"workbench.iconTheme": "material-icon-theme",
"workbench.activityBar.location": "hidden",
"workbench.editor.showTabs": "none"
}
{"version":1,"resource":"vscode-userdata:/Users/santiago.sanchez/Library/Application%20Support/Windsurf/User/settings.json","entries":[{"id":"xo3g.json","timestamp":1734365295539},{"id":"4ugd.json","timestamp":1734365676068},{"id":"4FS6.json","timestamp":1734366443892},{"id":"Wd1w.json","timestamp":1734366501982},{"id":"tfzN.json","timestamp":1734366602923},{"id":"dvf4.json","timestamp":1734366634674},{"id":"Sz76.json","timestamp":1734366878306},{"id":"bAzU.json","timestamp":1734367156038},{"id":"FHzI.json","timestamp":1734368874498},{"id":"SGrf.json","timestamp":1734369839294},{"id":"7nUt.json","timestamp":1734369874774},{"id":"67Qp.json","timestamp":1734369889078},{"id":"yvLK.json","timestamp":1734370139626},{"id":"SOY6.json","timestamp":1734370303695},{"id":"mdWB.json","timestamp":1734370359448},{"id":"uyTC.json","timestamp":1734370377948},{"id":"vbR0.json","timestamp":1734370715558},{"id":"uCtg.json","timestamp":1734370767290},{"id":"aVxa.json","timestamp":1734370778541},{"id":"Enln.json","timestamp":1734370809795},{"id":"l3XD.json","timestamp":1734371528323},{"id":"IREf.json","timestamp":1734371558260},{"id":"VYgQ.json","timestamp":1734395174602},{"id":"PWz8.json","timestamp":1734395236270},{"id":"BwQi.json","timestamp":1734405024995},{"id":"UqOm.json","timestamp":1734405362792},{"id":"7iR3.json","timestamp":1734405411190},{"id":"PQWW.json","timestamp":1734405469440}]}
{
"breadcrumbs.enabled": true,
"diffEditor.ignoreTrimWhitespace": false,
"editor.minimap.enabled": false,
"editor.tabSize": 4,
"editor.lineNumbers": "relative",
"editor.suggestSelection": "first",
"editor.inlineSuggest.enabled": true,
"editor.autoClosingBrackets": "always",
"editor.cursorSmoothCaretAnimation": "on",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
},
"eslint.run": "onSave",
"go.gopath": "/Users/santiago.sanchez/Code/Go",
"go.formatTool": "goimports",
"go.useLanguageServer": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"sync.gist": "f0b285b5220d5ac07c470a19bd0de4a4",
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.easymotionMarkerBackgroundColor": "red",
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
"vim.insertModeKeyBindings": [
{
"before": ["j", "k"],
"after": ["<Esc>"]
}
],
"vim.leader": "<space>",
"windsurf.autocompleteSpeed": "fast",
"workbench.startupEditor": "newUntitledFile",
"workbench.iconTheme": "material-icon-theme",
"workbench.activityBar.visible": false,
"workbench.list.automaticKeyboardNavigation": false
}
{
"breadcrumbs.enabled": true,
"diffEditor.ignoreTrimWhitespace": false,
"editor.minimap.enabled": false,
"editor.tabSize": 4,
"editor.lineNumbers": "relative",
"editor.suggestSelection": "first",
"editor.inlineSuggest.enabled": true,
"editor.autoClosingBrackets": "always",
"editor.cursorSmoothCaretAnimation": "on",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
},
"eslint.run": "onSave",
"go.gopath": "/Users/santiago.sanchez/Code/Go",
"go.formatTool": "goimports",
"go.useLanguageServer": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"sync.gist": "f0b285b5220d5ac07c470a19bd0de4a4",
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.easymotionMarkerBackgroundColor": "red",
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
"vim.insertModeKeyBindingsNonRecursive": [],
"vim.insertModeKeyBindings": [
{
"before": ["j", "k"],
"after": ["<Esc>"]
}
],
"vim.leader": "<space>",
"windsurf.autocompleteSpeed": "fast",
"workbench.startupEditor": "newUntitledFile",
"workbench.iconTheme": "material-icon-theme",
"workbench.activityBar.location": "hidden",
"workbench.editor.showTabs": "none"
}
{
"breadcrumbs.enabled": true,
"diffEditor.ignoreTrimWhitespace": false,
"editor.minimap.enabled": false,
"editor.tabSize": 4,
"editor.lineNumbers": "relative",
"editor.suggestSelection": "first",
"editor.inlineSuggest.enabled": true,
"editor.autoClosingBrackets": "always",
"editor.cursorSmoothCaretAnimation": "on",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
},
"eslint.run": "onSave",
"go.gopath": "/Users/santiago.sanchez/Code/Go",
"go.formatTool": "goimports",
"go.useLanguageServer": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"sync.gist": "f0b285b5220d5ac07c470a19bd0de4a4",
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.easymotionMarkerBackgroundColor": "red",
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
"vim.insertModeKeyBindingsNonRecursive": [],
"vim.insertModeKeyBindings": [
{
"before": ["j", "k"],
"after": ["<Esc>"]
}
],
"vim.leader": "<space>",
"windsurf.autocompleteSpeed": "fast",
"workbench.startupEditor": "newUntitledFile",
"workbench.iconTheme": "material-icon-theme",
// "workbench.activityBar.location": "hidden",
"workbench.editor.showTabs": "none"
}
{
"breadcrumbs.enabled": true,
"diffEditor.ignoreTrimWhitespace": false,
"editor.minimap.enabled": false,
"editor.tabSize": 4,
"editor.lineNumbers": "relative",
"editor.suggestSelection": "first",
"editor.inlineSuggest.enabled": true,
"editor.autoClosingBrackets": "always",
"editor.cursorSmoothCaretAnimation": "on",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
},
"eslint.run": "onSave",
"go.gopath": "/Users/santiago.sanchez/Code/Go",
"go.formatTool": "goimports",
"go.useLanguageServer": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"sync.gist": "f0b285b5220d5ac07c470a19bd0de4a4",
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.easymotionMarkerBackgroundColor": "red",
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
"vim.handleKeys": {
"<Space>": false
},
"vim.insertModeKeyBindingsNonRecursive": [],
"vim.insertModeKeyBindings": [
{
"before": ["j", "k"],
"after": ["<Esc>"]
}
],
"vim.leader": "<space>",
"windsurf.autocompleteSpeed": "fast",
"workbench.startupEditor": "newUntitledFile",
"workbench.iconTheme": "material-icon-theme",
"workbench.activityBar.visible": false,
"workbench.list.automaticKeyboardNavigation": false
}
{
"breadcrumbs.enabled": true,
"diffEditor.ignoreTrimWhitespace": false,
"editor.minimap.enabled": false,
"editor.tabSize": 4,
"editor.lineNumbers": "relative",
"editor.suggestSelection": "first",
"editor.inlineSuggest.enabled": true,
"editor.autoClosingBrackets": "always",
"editor.cursorSmoothCaretAnimation": "on",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
},
"eslint.run": "onSave",
"go.gopath": "/Users/santiago.sanchez/Code/Go",
"go.formatTool": "goimports",
"go.useLanguageServer": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"sync.gist": "f0b285b5220d5ac07c470a19bd0de4a4",
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.easymotionMarkerBackgroundColor": "red",
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
"vim.insertModeKeyBindingsNonRecursive": [],
"vim.insertModeKeyBindings": [
{
"before": ["j", "k"],
"after": ["<Esc>"]
}
],
"vim.leader": "<space>",
"windsurf.autocompleteSpeed": "fast",
"workbench.startupEditor": "newUntitledFile",
"workbench.iconTheme": "material-icon-theme",
"workbench.activityBar.location": "hidden",
"workbench.editor.showTabs": "none",
"workbench.colorTheme": "Tokyo Night"
}
{
"breadcrumbs.enabled": true,
"diffEditor.ignoreTrimWhitespace": false,
"editor.minimap.enabled": false,
"editor.tabSize": 4,
"editor.lineNumbers": "relative",
"editor.suggestSelection": "first",
"editor.inlineSuggest.enabled": true,
"editor.autoClosingBrackets": "always",
"editor.cursorSmoothCaretAnimation": "on",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
},
"eslint.run": "onSave",
"go.gopath": "/Users/santiago.sanchez/Code/Go",
"go.formatTool": "goimports",
"go.useLanguageServer": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"sync.gist": "f0b285b5220d5ac07c470a19bd0de4a4",
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.easymotionMarkerBackgroundColor": "red",
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
"vim.insertModeKeyBindingsNonRecursive": [],
"vim.insertModeKeyBindings": [
{
"before": ["j", "k"],
"after": ["<Esc>"]
}
],
"vim.leader": "<space>",
"windsurf.autocompleteSpeed": "fast",
"workbench.startupEditor": "newUntitledFile",
"workbench.iconTheme": "material-icon-theme",
"workbench.activityBar.location": "hidden",
"workbench.editor.showTabs": "none"
}
{
"breadcrumbs.enabled": true,
"diffEditor.ignoreTrimWhitespace": false,
"editor.minimap.enabled": false,
"editor.tabSize": 4,
"editor.lineNumbers": "relative",
"editor.suggestSelection": "first",
"editor.inlineSuggest.enabled": true,
"editor.autoClosingBrackets": "always",
"editor.cursorSmoothCaretAnimation": "on",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
},
"eslint.run": "onSave",
"go.gopath": "/Users/santiago.sanchez/Code/Go",
"go.formatTool": "goimports",
"go.useLanguageServer": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"sync.gist": "f0b285b5220d5ac07c470a19bd0de4a4",
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.easymotionMarkerBackgroundColor": "red",
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
"vim.insertModeKeyBindings": [
{
"before": ["j", "k"],
"after": ["<Esc>"]
}
],
"vim.leader": "<space>",
"windsurf.autocompleteSpeed": "fast",
"window.menuBarVisible": false,
"workbench.startupEditor": "newUntitledFile",
"workbench.iconTheme": "material-icon-theme",
"workbench.activityBar.visible": false,
"workbench.list.automaticKeyboardNavigation": false
}
{
"breadcrumbs.enabled": true,
"diffEditor.ignoreTrimWhitespace": false,
"editor.minimap.enabled": false,
"editor.tabSize": 4,
"editor.lineNumbers": "relative",
"editor.suggestSelection": "first",
"editor.inlineSuggest.enabled": true,
"editor.autoClosingBrackets": "always",
"editor.cursorSmoothCaretAnimation": "on",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
},
"eslint.run": "onSave",
"go.gopath": "/Users/santiago.sanchez/Code/Go",
"go.formatTool": "goimports",
"go.useLanguageServer": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"sync.gist": "f0b285b5220d5ac07c470a19bd0de4a4",
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.easymotionMarkerBackgroundColor": "red",
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
"vim.handleKeys": {
"<Space>": false
},
"vim.insertModeKeyBindings": [
{
"before": ["j", "k"],
"after": ["<Esc>"]
}
],
"vim.leader": "<space>",
"windsurf.autocompleteSpeed": "fast",
"workbench.startupEditor": "newUntitledFile",
"workbench.iconTheme": "material-icon-theme",
"workbench.activityBar.visible": false,
"workbench.list.automaticKeyboardNavigation": false
}
{
"breadcrumbs.enabled": true,
"diffEditor.ignoreTrimWhitespace": false,
"editor.minimap.enabled": false,
"editor.tabSize": 4,
"editor.lineNumbers": "relative",
"editor.suggestSelection": "first",
"editor.inlineSuggest.enabled": true,
"editor.autoClosingBrackets": "always",
"editor.cursorSmoothCaretAnimation": "on",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
},
"eslint.run": "onSave",
"go.gopath": "/Users/santiago.sanchez/Code/Go",
"go.formatTool": "goimports",
"go.useLanguageServer": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"sync.gist": "f0b285b5220d5ac07c470a19bd0de4a4",
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.easymotionMarkerBackgroundColor": "red",
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
"vim.normalModeKeyBindingsNonRecursive": [
{
"before": ["<tab>"],
"commands": ["workbench.action.nextEditor"]
},
{
"before": ["<S-tab>"],
"commands": ["workbench.action.previousEditor"]
},
{
"before": ["<leader>", "w"],
"commands": [":w"]
},
{
"before": ["<leader>", "q"],
"commands": [":q"]
}
],
"vim.insertModeKeyBindings": [
{
"before": ["j", "k"],
"after": ["<Esc>"]
}
],
"vim.leader": "<space>",
"windsurf.autocompleteSpeed": "fast",
"workbench.startupEditor": "newUntitledFile",
"workbench.iconTheme": "material-icon-theme",
"workbench.activityBar.visible": false,
"workbench.list.automaticKeyboardNavigation": false
}
{
"breadcrumbs.enabled": true,
"editor.minimap.enabled": false,
"editor.tabSize": 4,
"editor.lineNumbers": "relative",
"editor.suggestSelection": "first",
"editor.inlineSuggest.enabled": true,
"editor.autoClosingBrackets": "always",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
},
"eslint.run": "onSave",
"go.gopath": "/Users/santiago.sanchez/Code/Go",
"go.formatTool": "goimports",
"go.useLanguageServer": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"sync.gist": "f0b285b5220d5ac07c470a19bd0de4a4",
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.easymotionMarkerBackgroundColor": "red",
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
"vim.normalModeKeyBindingsNonRecursive": [
{
"before": ["<tab>"],
"commands": ["workbench.action.nextEditor"]
},
{
"before": ["<S-tab>"],
"commands": ["workbench.action.previousEditor"]
},
{
"before": ["<leader>", "w"],
"commands": [":w"]
},
{
"before": ["<leader>", "q"],
"commands": [":q"]
}
],
"vim.insertModeKeyBindings": [
{
"before": ["j", "k"],
"after": ["<Esc>"]
}
],
"vim.leader": "<space>",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"windsurf.autocompleteSpeed": "fast",
"workbench.startupEditor": "newUntitledFile",
"workbench.iconTheme": "material-icon-theme",
"workbench.activityBar.visible": false,
"workbench.list.automaticKeyboardNavigation": false
}
{
"breadcrumbs.enabled": true,
"diffEditor.ignoreTrimWhitespace": false,
"editor.minimap.enabled": false,
"editor.tabSize": 4,
"editor.lineNumbers": "relative",
"editor.suggestSelection": "first",
"editor.inlineSuggest.enabled": true,
"editor.autoClosingBrackets": "always",
"editor.cursorSmoothCaretAnimation": "on",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
},
"eslint.run": "onSave",
"go.gopath": "/Users/santiago.sanchez/Code/Go",
"go.formatTool": "goimports",
"go.useLanguageServer": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"sync.gist": "f0b285b5220d5ac07c470a19bd0de4a4",
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.easymotionMarkerBackgroundColor": "red",
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
"vim.insertModeKeyBindingsNonRecursive": [],
"vim.insertModeKeyBindings": [
{
"before": ["j", "k"],
"after": ["<Esc>"]
}
],
"vim.leader": "<space>",
"windsurf.autocompleteSpeed": "fast",
"workbench.startupEditor": "newUntitledFile",
"workbench.iconTheme": "material-icon-theme",
"workbench.activityBar.visible": false,
"workbench.list.automaticKeyboardNavigation": false,
"workbench.activityBar.location": "hidden"
}
{
"breadcrumbs.enabled": true,
"diffEditor.ignoreTrimWhitespace": false,
"editor.minimap.enabled": false,
"editor.tabSize": 4,
"editor.lineNumbers": "relative",
"editor.suggestSelection": "first",
"editor.inlineSuggest.enabled": true,
"editor.autoClosingBrackets": "always",
"editor.cursorSmoothCaretAnimation": "on",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
},
"eslint.run": "onSave",
"go.gopath": "/Users/santiago.sanchez/Code/Go",
"go.formatTool": "goimports",
"go.useLanguageServer": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"sync.gist": "f0b285b5220d5ac07c470a19bd0de4a4",
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.easymotionMarkerBackgroundColor": "red",
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
"vim.insertModeKeyBindingsNonRecursive": [],
"vim.insertModeKeyBindings": [
{
"before": ["j", "k"],
"after": ["<Esc>"]
}
],
"vim.leader": "<space>",
"windsurf.autocompleteSpeed": "fast",
"workbench.startupEditor": "newUntitledFile",
"workbench.iconTheme": "material-icon-theme",
"workbench.activityBar.location": "hidden",
"workbench.editor.showTabs": "none"
}
{
"breadcrumbs.enabled": true,
"diffEditor.ignoreTrimWhitespace": false,
"editor.minimap.enabled": false,
"editor.tabSize": 4,
"editor.lineNumbers": "relative",
"editor.suggestSelection": "first",
"editor.inlineSuggest.enabled": true,
"editor.autoClosingBrackets": "always",
"editor.cursorSmoothCaretAnimation": "on",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
},
"eslint.run": "onSave",
"go.gopath": "/Users/santiago.sanchez/Code/Go",
"go.formatTool": "goimports",
"go.useLanguageServer": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"sync.gist": "f0b285b5220d5ac07c470a19bd0de4a4",
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.easymotionMarkerBackgroundColor": "red",
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
"vim.insertModeKeyBindingsNonRecursive": [],
"vim.insertModeKeyBindings": [
{
"before": ["j", "k"],
"after": ["<Esc>"]
}
],
"vim.leader": "<space>",
"windsurf.autocompleteSpeed": "fast",
"workbench.startupEditor": "newUntitledFile",
"workbench.iconTheme": "material-icon-theme",
"workbench.activityBar.visible": false,
"workbench.list.automaticKeyboardNavigation": false
}
{
"breadcrumbs.enabled": true,
"diffEditor.ignoreTrimWhitespace": false,
"editor.minimap.enabled": false,
"editor.tabSize": 4,
"editor.lineNumbers": "relative",
"editor.suggestSelection": "first",
"editor.inlineSuggest.enabled": true,
"editor.autoClosingBrackets": "always",
"editor.cursorSmoothCaretAnimation": "on",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
},
"eslint.run": "onSave",
"go.gopath": "/Users/santiago.sanchez/Code/Go",
"go.formatTool": "goimports",
"go.useLanguageServer": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"sync.gist": "f0b285b5220d5ac07c470a19bd0de4a4",
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.easymotionMarkerBackgroundColor": "red",
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
"vim.insertModeKeyBindingsNonRecursive": [],
"vim.insertModeKeyBindings": [
{
"before": ["j", "k"],
"after": ["<Esc>"]
}
],
"vim.leader": "<space>",
"windsurf.autocompleteSpeed": "fast",
"workbench.startupEditor": "newUntitledFile",
"workbench.iconTheme": "material-icon-theme",
"workbench.activityBar.visible": false,
"workbench.list.automaticKeyboardNavigation": false,
"workbench.editor.editorActionsLocation": "hidden"
}
{
"breadcrumbs.enabled": true,
"diffEditor.ignoreTrimWhitespace": false,
"editor.minimap.enabled": false,
"editor.tabSize": 4,
"editor.lineNumbers": "relative",
"editor.suggestSelection": "first",
"editor.inlineSuggest.enabled": true,
"editor.autoClosingBrackets": "always",
"editor.cursorSmoothCaretAnimation": "on",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
},
"eslint.run": "onSave",
"go.gopath": "/Users/santiago.sanchez/Code/Go",
"go.formatTool": "goimports",
"go.useLanguageServer": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"sync.gist": "f0b285b5220d5ac07c470a19bd0de4a4",
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.easymotionMarkerBackgroundColor": "red",
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
"vim.insertModeKeyBindingsNonRecursive": [],
"vim.insertModeKeyBindings": [
{
"before": ["j", "k"],
"after": ["<Esc>"]
}
],
"vim.leader": "<space>",
"windsurf.autocompleteSpeed": "fast",
"workbench.startupEditor": "newUntitledFile",
"workbench.iconTheme": "material-icon-theme",
"workbench.activityBar.location": "hidden",
"workbench.editor.showTabs": "none",
"workbench.colorTheme": "Cobalt2"
}
{
"breadcrumbs.enabled": true,
"editor.minimap.enabled": false,
"editor.tabSize": 4,
"editor.suggestSelection": "first",
"eslint.run": "onSave",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
},
"go.gopath": "/Users/santiago.sanchez/Code/Go",
"go.formatTool": "goimports",
"go.useLanguageServer": true,
"sync.gist": "f0b285b5220d5ac07c470a19bd0de4a4",
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.easymotionMarkerBackgroundColor": "red",
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
"vim.normalModeKeyBindingsNonRecursive": [
{
"before": ["<tab>"],
"commands": ["workbench.action.nextEditor"]
},
{
"before": ["<S-tab>"],
"commands": ["workbench.action.previousEditor"]
},
{
"before": ["<leader>", "w"],
"commands": [":w"]
},
{
"before": ["<leader>", "q"],
"commands": [":q"]
}
],
"vim.insertModeKeyBindings": [
{
"before": ["j", "k"],
"after": ["<Esc>"]
}
],
"vim.leader": "<space>",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"windsurf.autocompleteSpeed": "fast",
"workbench.startupEditor": "newUntitledFile",
"workbench.iconTheme": "material-icon-theme",
"workbench.activityBar.visible": false,
"workbench.list.automaticKeyboardNavigation": false
}
{
"windsurf.autocompleteSpeed": "fast"
}
{
"breadcrumbs.enabled": true,
"diffEditor.ignoreTrimWhitespace": false,
"editor.minimap.enabled": false,
"editor.tabSize": 4,
"editor.lineNumbers": "relative",
"editor.suggestSelection": "first",
"editor.inlineSuggest.enabled": true,
"editor.autoClosingBrackets": "always",
"editor.cursorSmoothCaretAnimation": "on",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
},
"eslint.run": "onSave",
"go.gopath": "/Users/santiago.sanchez/Code/Go",
"go.formatTool": "goimports",
"go.useLanguageServer": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"sync.gist": "f0b285b5220d5ac07c470a19bd0de4a4",
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.easymotionMarkerBackgroundColor": "red",
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
"vim.insertModeKeyBindings": [
{
"before": ["j", "k"],
"after": ["<Esc>"]
}
],
"vim.leader": "<space>",
"windsurf.autocompleteSpeed": "fast",
"workbench.startupEditor": "newUntitledFile",
"workbench.iconTheme": "material-icon-theme",
"workbench.activityBar.visible": false,
"workbench.list.automaticKeyboardNavigation": false
}
{"version":1,"resource":"file:///Users/santiago.sanchez/Code/NodeJS/Pager/edge-api-admin/lib/modules/links/index.ts","entries":[{"id":"ABfp.ts","timestamp":1734369295294},{"id":"FooH.ts","timestamp":1734369472071}]}
{"version":1,"resource":"file:///Users/santiago.sanchez/Code/NodeJS/Pager/edge-api-admin/lib/modules/teams/index.js","entries":[{"id":"l8O4.js","timestamp":1734453151575}]}
{"version":1,"resource":"file:///Users/santiago.sanchez/Code/NodeJS/Pager/edge-api-admin/lib/services/personaService.js","entries":[{"id":"iR2P.js","source":"Fix all fixable ESLint issues","timestamp":1734453706744}]}
{"version":1,"resource":"file:///Users/santiago.sanchez/Code/NodeJS/Pager/edge-api-admin/lib/services/teamService.js","entries":[{"id":"zbTy.js","source":"Fix all fixable ESLint issues","timestamp":1734373877843}]}
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl-k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl-j",
"command": "workbench.action.navigateDown"
},
{
"key": "space ,",
"command": "workbench.action.showAllEditors",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "enter",
"command": "workbench.action.keepEditor",
"when": "inQuickPick && !inputFocus && !terminalFocus"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.files.action.focusFilesExplorer"
]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !sideBarFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.toggleSidebarVisibility",
"workbench.action.focusActiveEditorGroup"
]
},
"when": "vim.mode=='Normal' && sideBarFocus && !inputFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "vim.mode == 'Normal' && editorTextFocus && foldersViewVisible && !terminalFocus && !inQuickOpen",
},
{
"key": "space w",
"command": "workbench.action.files.save",
"when": "vim.mode == 'Normal' && !editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space q",
"command": "workbench.action.closeEditorsInGroup",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "tab",
"command": "workbench.action.nextEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && editorTextFocus"
},
{
"key": "shift-tab",
"command": "workbench.action.previousEditorInGroup",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus"
},
{
"key": "shift-j",
"command": "editor.action.moveLinesDownAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.moveLinesUpAction",
"when": "vim.mode != 'Insert' && editorTextFocus"
},
{
"key": "shift-k",
"command": "editor.action.showHover",
"when": "vim.mode == 'Normal' && editorTextFocus"
},
{
"key": "space c a",
"command": "editor.action.codeAction",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c r",
"command": "editor.action.rename",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space c s",
"command": "workbench.action.gotoSymbol",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space b d",
"command": "workbench.action.closeActiveEditor",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g d",
"command": "editor.action.revealDefinition",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g r",
"command": "editor.action.goToReferences",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space g i",
"command": "editor.action.goToImplementation",
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space /",
"command": "workbench.action.findInFiles",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space f f",
"command": "workbench.action.quickOpen",
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen"
},
{
"key": "space g g",
"command": "runCommands",
"args": {
"commands": ["workbench.view.scm", "workbench.scm.focus"]
},
"when": "vim.mode == 'Normal' && (editorTextFocus || !inputFocus) && !terminalFocus && !inQuickOpen",
},
{
"key": "space v s",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.splitEditorRight",
"workbench.action.showAllEditors"
]
},
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "space s s",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"workbench.action.showAllEditors"
]
},
"when": "vim.mode == 'Normal' && editorTextFocus && !terminalFocus && !inQuickOpen"
},
{
"key": "ctrl-n",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "(vim.mode == 'Normal' || vim.mode == 'Visual') && (editorTextFocus || !inputFocus)"
},
// File Explorer
{
"key": "r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "y y",
"command": "filesExplorer.copy",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "p",
"command": "filesExplorer.paste",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "x",
"command": "filesExplorer.cut",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "d d",
"command": "deleteFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "a",
"command": "explorer.newFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-a",
"command": "explorer.newFolder",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "s",
"command": "explorer.openToSide",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift-s",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus",
"args": {
"commands": [
"workbench.action.splitEditorDown",
"explorer.openAndPassFocus",
"workbench.action.closeOtherEditors"
]
}
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "enter",
"command": "list.toggleExpand",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && explorerResourceIsFolder && !inputFocus"
}
]
{
"breadcrumbs.enabled": true,
"diffEditor.ignoreTrimWhitespace": false,
"editor.minimap.enabled": false,
"editor.tabSize": 4,
"editor.lineNumbers": "relative",
"editor.suggestSelection": "first",
"editor.inlineSuggest.enabled": true,
"editor.autoClosingBrackets": "always",
"editor.cursorSmoothCaretAnimation": "on",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
},
"eslint.run": "onSave",
"go.gopath": "/Users/santiago.sanchez/Code/Go",
"go.formatTool": "goimports",
"go.useLanguageServer": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"sync.gist": "f0b285b5220d5ac07c470a19bd0de4a4",
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.easymotionMarkerBackgroundColor": "red",
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
"vim.insertModeKeyBindingsNonRecursive": [],
"vim.insertModeKeyBindings": [
{
"before": ["j", "k"],
"after": ["<Esc>"]
}
],
"vim.leader": "<space>",
"windsurf.autocompleteSpeed": "fast",
"workbench.startupEditor": "newUntitledFile",
"workbench.iconTheme": "material-icon-theme",
"workbench.activityBar.location": "hidden",
"workbench.editor.showTabs": "none",
"workbench.colorTheme": "Tokyo Night"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment