How can I use vim plugins with Ideavim?

Sebastian Wozny picture Sebastian Wozny · Nov 25, 2015 · Viewed 12.8k times · Source

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 ~/.ideavimrc like my normal .vimrc but I cannot find information about how to use plugins with ideavim.

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

Answer

jeff_kile picture jeff_kile · Nov 17, 2016

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

set surround

to your .ideavimrc file

https://github.com/JetBrains/ideavim#emulated-vim-plugins