vim.normalModeKeyBindingsNonRecursive Not Working Welcome Screen
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Describe the bug
None of my normal mode key bindings are working when the welcome screen is open
To Reproduce
Steps to reproduce the behavior:
- Make sure Welcome screen opens when you open VS Code
- Try to use one of your bindings
Expected behavior
The binding works
Environment (please complete the following information):
- Extension (VsCodeVim) version: 1.13.1
- VSCode version: 1.43.2
- OS: Mac
Additional context
"vim.normalModeKeyBindingsNonRecursive": [
{
// Save file
"before": ["<leader>", "<leader>"],
"commands": ["workbench.action.files.save"]
},
{
// Lookup a file in the project
"before": ["<leader>", "t"],
"commands": ["workbench.action.quickOpen"]
},
{
// Toggle source control window toggle
"before": ["<leader>", "g", "s"],
"commands": ["workbench.view.scm"]
},
{
// Move lines down by 3 instead of 1
"before": ["<C-e>"],
"after": ["3", "<C-e>"]
},
{
// Move lines up by 3 instead of 1
"before": ["<C-y>"],
"after": ["3", "<C-y>"]
},
{
// Toggle sidebar
"before": ["-"],
"commands": ["workbench.action.toggleSidebarVisibility"]
}
]
Update 1: Seems like they do not work with no files being open at all
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in VS Code with the welcome screen open and the provided vim.normalModeKeyBindingsNonRecursive configuration. Trace how VSCodeVim handles normal-mode bindings when no editor file is open; done means the listed bindings work from the welcome screen as they do when a file is open.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100