Skip to content
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

Keys and combinations fail in insert mode #2294

Closed
deshiknaves opened this issue Jan 16, 2018 · 2 comments
Closed

Keys and combinations fail in insert mode #2294

deshiknaves opened this issue Jan 16, 2018 · 2 comments

Comments

@deshiknaves
Copy link

BUG REPORT

What happened:
As of the recent update to VSCode there is some weird behavior with VSVim. For example every now and then in insert mode, you can't use tab, cmd+left, cmd+right, fn+delete. Tab actually inserts <tab> and the others just do nothing. There may be other key combinations that don't work, but those are ones that I use often so I've noticed the behavior. I've tried this on two different Macs running 10.13.2 and they both have this behavior. Disabling VSVim fixes the issue. If you toggle between visual mode and then back to insert mode, it starts working as expected again.

What did you expect to happen:
tab should add a tab like it always used to
cmd+right should behave like the end key
etc.

How to reproduce it (as minimally and precisely as possible):
I haven't found any particular event when this behavior starts. Every now and then (quite often) when it toggles from one mode to another, it start failing. I'll keep a look out to see if I can notice anything in particular that causes the issue.

I've had this issues for quite a few days. I've tried removing all plugins and installing vim again, same issue.

Environment:

  • Extension (VsCodeVim) version: 0.10.9
  • VSCode version: 1.19.2
  • OS version: Mac OSX 10.13.2
@alexciarlillo
Copy link

alexciarlillo commented Jan 16, 2018

I am having this exact issue but was hesitant to open a report because I was not 100% sure it was VSCVim. I have followed the same steps as you, disabling all other plugins and reinstalling and still experience the issue. I cannot find a way to trigger it 100% of the time yet.

I am getting the same tab behavior, and home/end stop working as well. I do not see any debug messages or output.

edit: I think I found a way to reproduce fairly consistently. Open 2 files and in the first file enter insert mode. Switch to the second file, enter insert mode and insert some text, then leave insert mode. Switch back to the first file and try to insert a tab. Issue should reproduce.

@jpoon
Copy link
Member

jpoon commented Jan 23, 2018

Dupe of #730. Fixed in master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants