vim freezes on certain commands doesnt work until vscode restart
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
Vim stops working when executing a wrong command sometimes
To Reproduce
Steps to reproduce the behavior:
- change a file
- quickly execute a save/exit command wrongly such as
:Q:W:wQand press return (maybe while still holding SHIFT)
Expected behavior
to save / quit the file
Screenshots
in the bottom status bar, where the command is shown: it will stay stuck on the command
Environment (please complete the following information):
- Extension (VsCodeVim) version: 1.31.0
- VSCode version: 1.105.1
- OS: Windows 11 (Happened on Win 10 as well)
Additional context
- im using an external vimrc file
map <Leader>ff <action>(com.mituuz.fuzzier.Fuzzier)
map <Leader>fc <action>(com.mituuz.fuzzier.FuzzyMover)
map <Leader>fv <action>(com.mituuz.fuzzier.FuzzierVCS)
map <Leader>fg <action>(com.mituuz.fuzzier.FuzzyGrep)
map <Leader>ba "+p
map <Leader>by "+y
map <C-w>d <Action>(ShowHoverInfo)
// the bug happened before i added those keybindings as well
nnoremap sf :w<CR>
nnoremap sq :wq<CR>
Plug 'tpope/vim-commentary'
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
Start by reproducing the issue in VSCodeVim 1.31.0 on Windows with the commands :Q, :W, and :wQ, including the external vimrc context described. Check the command-line behavior after an invalid save or exit command; done means the status bar no longer remains stuck and subsequent commands work as expected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100