vscode-neovim: Pasting makes plugin hang

Hi! I’m on WSL2/Windows 11, running VSCode and nvim in WSL

Sometimes, when I paste, the plugin completely hangs. Especially often (>90% of the time) when the copied text is NOT from vscode but another application. I have to reload the vscode window to get it to work.

This is usually remedied by going into insert mode, so vscode takes over, then pressing CTRL+V.

I have the windows clipboard history enabled, but don’t know if that makes any difference.

In my init.vim I have

set clipboard=unnamedplus
set ignorecase
set smartcase

And one plugin registered with vim-plug, which doesn’t affect the problem (the problem still exists without the plugin. I haven’t tried disabling vim-plug itself however)

Thanks for building vscode-neovim! Keep up the great work 😃

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16 (3 by maintainers)

Most upvoted comments

EDITED RESPONSE:

It seems that vim easymotion is built in to the vscode-vim now. just use w 😃

For now I had to go back to vscode-vim plugin to avoid the issue. It’s not having issues with vscode-vim. As a temporary solution

I just want to use nvim motion plugin such as leap, hop and so on. I cannot find the motion in the other vscode plugin. But this problem is really annoying. I just find more hang case with Windows terminal, maybe there is some reason behind this.

vscode-vim simulated easymotion, it is cool. Thank you! I think I will like it. I will use that for a while.