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

<CapsLock> mapped to <Esc> cant return to normal mode from insert mode #2047

Closed
lancelock opened this issue Oct 2, 2017 · 4 comments
Closed

Comments

@lancelock
Copy link

lancelock commented Oct 2, 2017

Environment:

  • VSCode Version: 1.16.1
  • VsCodeVim Version: 0.10.1
  • OS: archlinux 4.13.3-1
  • DE: gnome 3.24.2

What happened:

i have change the key "CapsLock" as a additional "Esc" in my system, but i cant use "CapsLock" to return to normal mode from insert mode. is this a bug?

it works well in other editors, such as vim、 emacs、sublime-text and intellij idea.
i use then in vim-mode too

@Chillee
Copy link
Member

Chillee commented Oct 2, 2017

@lancelock I'm actually surprised we haven't put this in the README yet, but look at the solution detailed here: #1479

@Chillee Chillee closed this as completed Oct 2, 2017
@lancelock
Copy link
Author

thanks

i have use this config "keyboard.dispatch": "keyCode", and it works

so what is the different between "keycode" and "code"? is there any weakeness on "keycode", why it is not recommend?

@Chillee
Copy link
Member

Chillee commented Oct 2, 2017

@lancelock That's something that was done on the VSCode side. I can't speak to the advantages/disadvantages.

@lancelock
Copy link
Author

@Chillee ok, thank you

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

2 participants