- Click thumbs-up 👍 on this issue if you want it!
- Click confused 😕 on this issue if not having it makes VSCodeVim unusable.
The VSCodeVim team prioritizes issues based on reaction count.
FEATURE REQUEST:
Support "when" in custom binding commands. This will allow one to create toggle commands that do different things based on the state of the editor.
For example:
"vim.otherModesKeyBindingsNonRecursive": [
{
"before": ["-"],
"commands": [
{
"command": "workbench.files.action.focusFilesExplorer",
"when": "editorFocus",
"args": []
},
{
"command": "workbench.action.toggleSidebarVisibility",
"when": "explorerViewletFocus",
"args": []
}
]
}
]
Pressing - while focused on an editor, shows and sets focus to the file explorer. Pressing - in the file explorer, closes the explorer sidebar and sets you back into the editor.
The VSCodeVim team prioritizes issues based on reaction count.
FEATURE REQUEST:
Support "when" in custom binding commands. This will allow one to create toggle commands that do different things based on the state of the editor.
For example:
Pressing
-while focused on an editor, shows and sets focus to the file explorer. Pressing-in the file explorer, closes the explorer sidebar and sets you back into the editor.