jaredpar/VsVim — Issue #765: Make _vimrc and _vsvimrc work together?
Author: philipmat
Created: 2012-02-14 16:00:30+00:00
State: open

I have a good deal of settings, mappings, etc in the _vimrc file, not all of which, understandably, work with VsVim. For that reason, I'd very much like to not have to duplicate the _vimrc into a _vsvimrc and remove those settings that either don't apply or don't work.

I'd like to make two suggestions, if I may, on how to solve this situation.

A - VsVim could support the [`:source`](http://vimdoc.sourceforge.net/htmldoc/repeat.html#:source) command, allowing us to include the _vimrc file at the beginning of the _vsvimrc, then proceed to unmap or reset those settings that don't apply/work yet with VsVim:

```vim
source _vimrc
iunmap
" etc
```

B - VsVim could support the [`has({feature})`](http://goo.gl/sDrAk) function that allows conditional logic within the _vimrc and thus eliminate the need for _vsvimrc:

```vim
if !has("vsvim")
inoremap u
endif
```

Thank you very much for considering it and thank you very much for VsVim - it made my life so much better.