Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to use vimrc with VsVim

📅 2013-Dec-05 ⬩ ✍️ Ashwin Nanjappa ⬩ 📚 Archive

The VsVim extension for Visual Studio supports a lot of the Vim commands that are commonly used. A Vim user should feel comfortable navigating and editing in Visual Studio using this extension. If you want to save your Vim settings or load your Vim settings in VsVim, you can do that from a vimrc file.

VsVim looks for a file named .vsvimrc, _vsvimrc, .vimrc or _vimrc to load Vim settings. You can put your favorite Vim settings into this file and use them with VsVim. You can check which directories that VsVim looks for this file in by using the command :set vimrcpaths?. This is typically the HOME, VIM or USERPROFILE directories. Place your vimrc file in one of these directories, restart Visual Studio and VsVim will load those settings. You can verify which vimrc file is currently loaded in VsVim by using the command :set vimrc?

Tried with: VsVim 1.4.2.0, Visual Studio 2010 and Windows 8 x64