How do I install vim plugins with vscode vim?

Viewed 4694

I am slightly new to vim, and I installed the vim vscode plugin so I can use vim-like melodies to manipulate code in vscode. However, I used to have janus installed on my terminal (including NERDTree, NERDCommenter, etc) and I want to install NERDCommenter on my vim vscode. How would I go about doing this?

2 Answers

This is not possible, you cannot use VIM plugins on the VSCode Vim. I am not familiar with NerdCommenter but you can just remap VSCode keys.

Seems like NERD* Plugins is written for vim.

As for VSCode, here is a workaround:

There are so many good extentions.It's very likely to find one replacement for you there.

As for comment code:

  • I perfer use ⌘ + / to comment my selection area.
  • You can change the Keyboard Shortcuts for Toggle Line Comment.
Related