-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inserting a Hash/Number/Pound sign writes out "X\x08#" instead #4387
Comments
Unable to reproduce on Windows 10 |
The bug appears to have been introduced in 1.12.1 (downgrading to 1.12.0 fixes the issue for me). |
I'm also experiencing this regression. Environment:
Happy to help debug this issue, let me know if there's anything I can test out or more info I can provide that would be useful ❤️ |
I can confirm that I can't reproduce it on windows but I can on mac. Not sure if there is anything else I can help here. I had to downgrade to 1.11.13 which is the last plugin that works on mac for me. |
Since I just got auto updated: confirmed still broken on 1.12.3. |
I've just updated to 1.12.4 and it appears this is resolved for me now 👍 |
@nfm Sweet. Nothing was done to directly fix this, so my hunch is |
Likely to be the cause. I can't test this right now but by vimrc like the one of many others has this in it: |
Yup, sounds like the culprit. I'm not too familiar with this - should VSCodeVim behave differently than it does with that remap? Or is this really just vim-specific, and we should have some way of ignoring certain remaps? |
It should definitely not insert a backspace ascii char but delete the last char. That’s how vim behaves. |
Oh right, I'd forgotten about what |
Nice sleuthing all 🙇♂️ My I can confirm that if I set The remap is unnecessary in VSCode, it's just a workaround required for vim/neovim. Some way to ignore certain remaps could be nice, but isn't super important to me at least. |
Created #4430. Closing this one as resolved. |
Describe the bug
When one tries to write
#
VScode will write outX\x08#
into the file instead (note that\x08
is the backspace character). Not sure when it regressed but it happened some time last week for me the first time.To Reproduce
Steps to reproduce the behavior:
#
X#
in the buffer, deleting#
places you behind an invisible backspace character.Expected behavior
Just having
#
written.Screenshots

Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: