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

When entering visual mode, vim.visualModeKeyBindingsNonRecursive don't take effect for about a second #3530

Closed
insidewhy opened this issue Feb 27, 2019 · 3 comments
Labels

Comments

@insidewhy
Copy link
Contributor

insidewhy commented Feb 27, 2019

Describe the bug
Add to vim.visualModeKeyBindingsNonRecursive:

  { "before": ["n"], "after": ["j"] }

In an editor window, enter visual mode and quickly push n several times, the first few n key-presses will do a "search next" then the next few will be remapped as desired.

It takes about a second before the remaps take effect after entering visual mode.

  • Extension (VsCodeVim) version: 1.1.0
  • VSCode version: 1.31.1
  • OS: archlinux

This is not an issue in vim or neovim.

@sobjornstad
Copy link

I'm suspicious this may be related to #3221 (insert mode remapping doesn't work within a second of typing other characters in insert mode).

@insidewhy
Copy link
Contributor Author

@sobjornstad I have that issue too. I'm having a lot of issues with remapping... VsCodeVim isn't very useable unless you are using the default mappings unfortunately and it's been that way for two years.

@peitalin
Copy link

+1 same issue with the delay when switching to insert mode.

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

No branches or pull requests

4 participants