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

j+j (j + k) works not as expected in 0.1.9 #716

Closed
ScenK opened this issue Sep 6, 2016 · 4 comments
Closed

j+j (j + k) works not as expected in 0.1.9 #716

ScenK opened this issue Sep 6, 2016 · 4 comments
Assignees

Comments

@ScenK
Copy link

ScenK commented Sep 6, 2016

"vim.insertModeKeyBindings": [ { "before": ["j", "k"], "after": [""] } ]

j+j (j + k) works not as expected in 0.1.9, j + k could not exit insert mode actually -- unless i press . See screen recode.

untitled

What did you do?

j + k

What did you expect to happen?

Change modes

What happened instead?

jk was inserted

Technical details:

VSCode Version: 1.5.0-insider
VsCodeVim Version: 0.1.9
OS: OSX

@jpoon jpoon self-assigned this Sep 6, 2016
jpoon added a commit that referenced this issue Sep 6, 2016
jpoon added a commit that referenced this issue Sep 6, 2016
@jpoon jpoon mentioned this issue Sep 6, 2016
@deshiknaves
Copy link

Yep, same issue on Windows 10. I'm sure my mac machine will be the same.

@jpoon
Copy link
Member

jpoon commented Sep 6, 2016

Definitely a bug. Case insensitivity got all screwed up with the remapper, fix on its way.

This bug happens only for angle bracket things like <esc>, <ctrl+x>. Everything else is OK.

@deshiknaves
Copy link

Sweet. I just realized that I can work around this using:

"vim.insertModeKeyBindings": [ { "before": ["j", "j"], "after": ["escape"] } ],

@jpoon
Copy link
Member

jpoon commented Sep 6, 2016

Releasing another version of the extension shortly.

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

No branches or pull requests

3 participants