vimintellij-ideapycharmvim-pluginideavim

How can I use Vim plugins with IdeaVim?


I would like to use Tim Pope's Vim surround plugin in my PyCharm IDE. I've been using the IdeaVim plugin for PyCharm to use Vim motions and commands.

I know I can use file ~/.ideavimrc, like my normal vimrc file. But I cannot find information about how to use plugins with IdeaVim.

Can I specify the plugins directory inside my ~/.ideavimrc file or do I have to go another way? Can I use a plugin manager, like Pathogen?


Solution

  • The latest version of IdeaVim includes the vim-surround plugin. Enable it by adding

    set surround

    to your .ideavimrc file.