Vim: Difference between revisions

imported>Mic92
imported>Fadenb
m Using Pathogen as manager: syntaxhighlight
Line 83: Line 83:
== Using Pathogen as manager ==
== Using Pathogen as manager ==
There is a pathogen implementation as well, but its startup is slower and [VAM] has more features.  
There is a pathogen implementation as well, but its startup is slower and [VAM] has more features.  
<pre>
<syntaxhighlight lang="nix">
     vimrcConfig.pathogen.knownPlugins = vimPlugins; # optional
     vimrcConfig.pathogen.knownPlugins = vimPlugins; # optional
     vimrcConfig.pathogen.pluginNames = [ "vim-addon-nix" "youcompleteme" ];
     vimrcConfig.pathogen.pluginNames = [ "vim-addon-nix" "youcompleteme" ];
</pre>
</syntaxhighlight>


= Adding new plugins =
= Adding new plugins =