Search code examples
vimvsvim

How to have a separate _vimrc for vsvim


To get VsVim to work nicely I need different _vimrc settings to what I use for gVim.

Therefore I need a way to load different values for each.

Is it possible to have each one load a different _vimrc file?

Or worst case, is there any magic I can put in the _vimrc file to conditionally run commands based on whether it is VsVim or not?


Solution

    • Tools → Options
    • VsVim → Defaults
    • Change "VimRc File Loading" to "vsvimrc files only"

    From the FAQ