Skip to content

Instantly share code, notes, and snippets.

@sendhil
Last active December 29, 2020 00:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sendhil/312fe9304ae2461386595a2e1c6ae107 to your computer and use it in GitHub Desktop.
Save sendhil/312fe9304ae2461386595a2e1c6ae107 to your computer and use it in GitHub Desktop.
VSCode Settings
{
"key": "j",
"command": "list.focusDown",
"when": "explorerViewletVisible && filesExplorerFocus && !inputFocus"
},
{
"key": "down",
"command": "-list.focusDown",
"when": "explorerViewletVisible && filesExplorerFocus && !inputFocus"
},
{
"key": "k",
"command": "list.focusUp",
"when": "explorerViewletVisible && filesExplorerFocus && !inputFocus"
},
{
"key": "up",
"command": "-list.focusUp",
"when": "explorerViewletVisible && filesExplorerFocus && !inputFocus"
},
{
"key": "ctrl+e",
"command": "workbench.action.quickOpenPreviousRecentlyUsedEditorInGroup"
},
{
"key": "ctrl+tab",
"command": "-workbench.action.openNextRecentlyUsedEditorInGroup"
},
{
"key": "ctrl+shift+tab",
"command": "-workbench.action.openPreviousRecentlyUsedEditorInGroup"
},
{
"key": ", e w",
"command": "workbench.action.toggleSidebarVisibility",
"when": "filesExplorerFocus && !editorTextFocus"
},
{
"key": "ctrl+j",
"command": "selectNextSuggestion",
"when": "suggestWidgetVisible"
},
{
"key": "ctrl+k",
"command": "selectPrevSuggestion",
"when": "suggestWidgetVisible"
},
{
"key": "ctrl+j",
"command": "workbench.action.quickOpenSelectNext",
"when": "inQuickOpen"
},
{
"key": "ctrl+k",
"command": "workbench.action.quickOpenSelectPrevious",
"when": "inQuickOpen"
},
{
"key": "ctrl+j",
"command": "search.action.focusNextSearchResult",
"when": "hasSearchResult && searchViewletVisible"
},
{
"key": "ctrl+k",
"command": "search.action.focusPreviousSearchResult",
"when": "hasSearchResult && searchViewletVisible"
},
"vim.normalModeKeyBindings": [
{
"before": [
":"
],
"after": [],
"commands": [
{
"command": "workbench.action.gotoLine",
"args": []
}
]
},
{
"before": [
"leader",
"r"
],
"after": [],
"commands": [
{
"command": "editor.action.referenceSearch.trigger",
"args": []
}
]
},
{
"before": [ "leader",
"c",
"t"
],
"after": [],
"commands": [
{
"command": "workbench.action.closeEditorsInGroup",
"args": []
}
]
},
{
"before": [
"leader",
"e",
"w"
],
"after": [],
"commands": [
{
"command": "workbench.files.action.focusFilesExplorer",
"args": []
}
]
},
{
"before": [
"leader",
"s",
"t"
],
"after": [],
"commands": [
{
"command": "workbench.action.files.showOpenedFileInNewWindow",
"args": []
}
]
},
{
"before": [
"g",
"r"
],
"after": [],
"commands": [
{
"command": "editor.action.referenceSearch.trigger",
"args": []
}
]
},
{
"before": [
"leader",
"g",
"d"
],
"after": [],
"commands": [
{
"command": "editor.action.goToTypeDefinition",
"args": []
}
]
},
{
"before": [
"leader",
"g",
"i"
],
"after": [],
"commands": [
{
"command": "editor.action.goToImplementation",
"args": []
}
]
},
{
"before": [
"T",
],
"after": [],
"commands": [
{
"command": "workbench.action.terminal.toggleTerminal",
"args": []
}
]
},
{
"before": [
"leader",
"j",
],
"after": [],
"commands": [
{
"command": "editor.action.marker.next",
"args": []
}
]
},
{
"before": [
"leader",
"k",
],
"after": [],
"commands": [
{
"command": "editor.action.marker.prev",
"args": []
}
]
},
{
"before": [
"leader",
"t"
],
"after": [],
"commands": [
{
"command": "workbench.action.toggleSidebarVisibility",
"args": []
}
]
},
{
"before": [
"[",
"q"
],
"after": [],
"commands": [
{
"command": "editor.action.marker.previous",
"args": []
}
]
},
{
"before": [
"]",
"q"
],
"after": [],
"commands": [
{
"command": "editor.action.marker.next",
"args": []
}
]
},
],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment