Vim
Vim copied to clipboard
A problem occurs when pressing the u key
Describe the bug A blank line is automatically added between lines of code when the u key is pressed on the keyboard. It's an occasional event that doesn't happen very often.
To Reproduce
Steps to reproduce the behavior:
Occasionally, this problem occurs if I press u
to undo changes after modifying the code.
- Modify the code.
- Press the u key on keyboard.
- Automatically add blank lines between lines of code.
- See error
Expected behavior I'm not sure if it's a bug or not, this problem has been occurring since the last update and the same issue occurs with changing devices. When I disable VSCodeVim, this problem goes away.
Screenshots
Environment (please complete the following information):
- Extension (VsCodeVim) version: v1.27.2
- VSCode version: 1.88.1 (user setup)
- OS: Windows_NT x64 10.0.22631
- Windows 11 Professional Workstation Edition 23H2 22631.3447
I also have this problem. I suspect it’s related to line ending conversion, i.e. when a file uses CRLF line endings, but then VSCode fixes it to LF on the first edit (due to .editorconfig
or other settings).
I've had this issue for years, it's super annoying. Surprised to see so little discussion on the topic.