Your extension will be available shortly on the Visual Studio Marketplace at this link.



VIM emulation layer for Visual Studio

4.9 Star
Visual Studio
2017, 2015, 2013, 2012
Download (429,564)
E-mail Twitter Digg Facebook
Add to favorites
Sign in to write a review
Sort by:

5 Star
by sheldongzh | October 13 2016

Thank you so much for this great tool. Though I have not started using it but I am pretty sure it will help me a lot with switching vim to vs.

5 Star
by Rynant | October 03 2016

5 Star
by jsukow | September 26 2016

Great. Thanks

5 Star
by Alvaro Schneider | September 16 2016

VsVim made my experience of coming back to Visual Studio very enjoyable. It was really easy to set up custom mappings. Productivity boost.

Thank you very much.

5 Star
by kjasva | September 15 2016

4 Star
by ling1726 | August 16 2016

5 Star
by com tag | August 03 2016

Absolutely an excellent tool for VIMs, it remove all pains that VIMers have inside VS editor.

5 Star
by xuyan505 | July 05 2016

5 Star
by DoktoroKiu | June 30 2016

This gives Visual Studio the interface it deserves. It is worth the install for macros alone. I discovered this today after attempting to use the official macro tool from Microsoft. I tried maybe 15 times to do a simple macro converting a standard If,Then,Else,End If construct into the equivalent ternary construct, but every time my result would be wrong in a different way. Even if that weren't the case, the lack of vim's text navigation language made the entire process very clunky and inefficient.

I didn't even bother to look up how to turn off IntelliSense for macros (and I imagine it would be impossible, or require manually disabling it every time). Thank the coding gods I decided to search for vim emulation. The last time I checked there was only a paid option for this (although that one could also work in word/excel/etc).

5 Star
by Artyom K | June 23 2016

That is a great tool while I'm switching to Vim. Thx for updates and bug fixes!

5 Star
by graham ambrose | June 06 2016

4 Star
by Canxer | June 03 2016

5 Star
by David_GrillMaster2000 | May 10 2016

Love this extension, getting better every-time I update and using everyday. Does not have ALL VIM features, but most of the basic navigation, recording, etc.


5 Star
by mood_zyx | May 08 2016

love it!!!! : )

5 Star
by Robdobs | April 22 2016

5 Star
by orlandow | April 16 2016

5 Star
by Erdem Bircan | April 08 2016

Thank you.

5 Star
by hwaki | April 06 2016

Thank you!

5 Star
by alias65536 | April 01 2016

Simply fantastic, this was the plugin that actually made it feasible for me to learn Vim while still remaining productive, and my editing has been made easier and quicker by it; I almost never have to use the mouse. The navigation features (combined with Visual Studio's Ctrl-,) makes for a pretty good workflow. Thanks so much for your work, VsVim (and Vim) is fantastic.

5 Star
by Julien Couvreur | March 23 2016

Great extension. Below is my vsvimrc file.
It includes bindings for various windows (output, immediate, etc), folding code, navigating code, setting bookmarks and breakpoints, etc.

1 - 20 of 268 Items   
Sign in to start a discussion

  • c2ib and v2aB
    3 Posts | Last post May 04, 2015
    • Are secondary bracket movements supported such as c2ib and v2aB?  These commands don't seem to be working for me.
    • The `ib` and `aB` motions are implemented.  But they are two of the lesser tested motions hence it's possible there is a bug here.  Is there a particular scenario that isn't working that you could show me?  
    • Thank you for the prompt reply.  I've sent you an email explaining the use case in more detail.
  • Revert B/F color when cursor blink
    1 Posts | Last post April 24, 2015
    • Nice job!. But is that possible to revert the back/forecolor when cursor blink under normal mode. It really hard to recognize the character under cursor. I try :set guicursor. Seems no that option in VsVim. I use VS2010
  • Color setting in Vs 2015
    5 Posts | Last post March 30, 2015
    • I can't change block caret color of vsvim in VS2015.How to solve this problem?
    • Go to Tools -> Options -> VsVim -> General.  The block caret color can be changed from that page. 
    • I follow ur methods tried, but did not play a role.It's useful in VS2013,but in 2015 does not work.Could u please try to sovle it?
      By the way, do you know what the font is in this comment area? it is very good.
    • There is a bug in VS 2015 that prevents this from working.  It should be fixed in the next public release.  
      It appears the font is monospace (at least that is what is showing up in Chrome developer tools). 
    • Thanks for ur answer,have a nice day
  • Status bar
    4 Posts | Last post February 26, 2015
    • A long and white status bar looks bad in VS2013 with dark theme, how can I change the background and text color of the status bar?
      And, Visual Studio has its own status bar, why not just use the visual studio status bar instead of creating your own? I really want to save screen space as much as possible.
    • The color of the command margin can be changed in Tools -> Options -> VsVim under the Item Colors section.  Both the foreground and background can be changed here. 
      The Visual Studio command bar just really isn't sufficient for the needs of Vim.  At a high level it's meant for short term, non-editable, global status messages.  Vim needs long term, editable, local command bar.  There are other more technical reasons why I made this choice but at a high level that's the reason. 
      I have gotten enough requests for this though that VsVim does support using the status bar only.  To enable that go to Tools -> Options -> VsVim and set "Use Editor Command Margin" to false.  
      Note: This is a brand new feature that I don't actively use myself.  It probably still has several bugs that need to be ironed out.  And long term it won't be as functional as the command margin (in particular it won't support edit).  But overall it should serve as a reasonable substitute. 
    • Thanks for the reply, I'm new to vim so I didn't really know what command margin means when I asked that question, sorry to bother you for that
      But there is a minor problem that I hope you can help me solve:
      I am a chinese, and like all other programmers in China or Japan and some other countries, we use input methods to input our language.
      In insert mode, there is no problem.
      In Normal mode, when I type 'i' for example, I meant to enter Insert mode, but if my input method is active, the input method will intercept my input, so I have to disable my input method and type again, this is a bit annoying.
      Is there anything you can do from your end to disable input method (if enabled) temporarily when in Normal mode?
    • It's possible.  Is there a way for me to query the IME state?  I just don't know a lot about it hence I'm not sure what I can or can't do.  
  • Conflict with MS Bing Pinyin input
    4 Posts | Last post December 16, 2014
    • If i use MS Bing Pinyin input then vsvim will work abnormal. Just move cursor feature works well.
      Condition: Win8 
      VSVIM setting: Handle all with VisualStudio.
    • Can you post a link to the other extension which is causing issues? 
    • This is link:
      This app is Microsoft bing app for Chinese Pinyin input. 
    • Sorry, make mistake. 
      This link is correct.
      Reproduce steps:
      1. open Vs2013 and enable vsvim(Handle all with VisualStudio).
      2. switch input from english to chinese. then vsvim will not work normal. 
      For example, Ctrl + j to list members, but in this situation, it will linefeed.
  • Navigating between window splits
    3 Posts | Last post November 21, 2014
    • Hey Jared,
      I've been debating making the jump from ViEmu to VsVim for better config support via vimrc (currently the only usable mapping that makes sense is 'nnoremap <esc> :noh<cr><esc>'), but I'm struggling with navigating between window splits. I've figured out splitting via command mode with :split and :vsplit but normal mode commands <C-w> s, <C-w> v, and <C-w> w do not work. I haven't found a way to move between horizontal splits without using the mouse, and I can't navigate between vertical splits at all without using <C-tab>.
      Using ViEmu, I'm used to gt and gT taking me to the next buffer, regardless of tab well, though I appreciate the difference in VsVim where every open tab is treated as an open buffer, there's no indexed buffer list (:ls) so I can't jump to a given buffer (:b1 :b2 etc) without cycling through every open tab. I'm also unable to open a new buffer (:e SomeFile.cs) which keeps me reliant on the solution explorer search.
      I feel like I'm missing something fairly major, but I've searched and all the ways of splitting and navigating splits and buffers doesn't seem to be supported outside of :split and :vsplit
    • Hey Warren,
      As for the <Ctrl-W> commands I just wasn't aware of them.  I've been using the :split and :vsplit commands for as long as I can remember and had never seen this alternative.  It's fairly easy to implement and I filed the following issue to track getting the work done 
      As for the buffer list.  Vim and Visual Studio unfortunately have a very different understanding of how buffers work.  A couple of times I've tried to map out how the buffer commands should work in the world of Visual Studio but I've been unable to convince myself of a model that made a ton of sense.  If you have any ideas here I'd love to hear them. 
      For :e the command is implemented today but has no sense of relative path.  How are you expecting the path to be resolved here?  Relative to the current project, solution, etc ...? 
    • Hey,
      As far as a buffer list goes, it would be nice just to use :ls to get a numbered list of files that are open, you don't necessarily need to treat a vertical split of the same file as separate buffers. gt and gT would cycle numerically through the buffers forwards and backwards (alternate commands are :bn and :bp), as well as :b n to jump to buffer n. The ordering of that list is entirely up to implementation I suppose. Tab order is the initial thought, but multiple windows, screens, and tab wells complicate things. If VS has a way to progressively iterate through those by level (window, well, tab) that I guess would be the simplest way to go, since "order opened" doesn't make sense when opening a project with files already open. ViEmu only places a file in the list if you've made changes to it during that session or it was the first file with focus, but then you have to :e FileThatIsAlreadyOpen.cs to be able to jump to it. It's not the worst idea, I suppose.
      for :e, I just tried using it and even from a file in the same folder I get "The document cannot be opened. It has been renamed, deleted or moved." I'm used to typing :e fileiwant.cs non-case sensitive regardless of path, sort of like a quick find, though I don't have many projects where the same file exists in multiple paths so I never thought about the particulars of path relevance. If one were to build in path relevance if path is specified, it should probably be from the solution root.
  • vimball plugin in vsvim
    3 Posts | Last post November 17, 2014
    • Hi.
      Is there a way to install a .vba plugin in vsvim ?
      I want to install Align (
    • Unfortunately VsVim does not support vim style plugins.  VsVim does have some support for the vim script language but not nearly enough to support extensions.  
      There are a number of alignment extensions out there for Visual Studio which may help you
      I'm not sure if they target VBA or not though.  
    • thank you, i will try that now
  • :g/re/p give error msg --> Undo linked chain broken.
    3 Posts | Last post November 06, 2014
    • First, thank you for the app. Excellent work.
      I frequently use :g/re/p to print all the lines in a file matching /re/. I am getting the following when I do so:
      Undo linked chain broken. Falling back to Visual Studio undo
      Is this a configuration conflict or a bug? 
      Thanks for your help with this,
    • Thanks for reporting this!
      This is a bug.  In the most recent release I fixed a number of undo / redo bugs in VsVim and really tightened the diagnostics around it.  What you are seeing here is a place where the tightened diagnostics are incorrectly firing.  I just uploaded a fix for this bug and it will appear in the next release 
    • Thanks Jared
  • vimrc settings not getting picked up by my Visual studio 2013
    2 Posts | Last post November 05, 2014
    • I had read the faq and when I type :set in Visual studio, I get the below.
      The following is what I have in "C:\Users\allai\_vimrc",
      I tried different things.
      1) shiftwidth=5
      2) set shiftwidth=5
         set tabstop=4
      3):set shiftwidth=5
        :set tabstop=4
      Seems to have no effect to visual studio.
      Any idea What I am missing?
    • Hmm, not sure why it didn't work before But I did got it working now...
      set shiftwidth=4
      set tabstop=4
      set hlsearch
      set ignorecase
      set incsearch
      set smartcase
  • I can't find the option button
    4 Posts | Last post October 06, 2014
    • Hello, 
      I want to reconfigure the key bindings, but I can't find the option button that you mentioned it would be located in the right-bottom in editor windows. 
      I'm using visual studio 2013 professional. How can I reconfigure the key bindings or find option button?
    • In recent versions the Options button has moved to the Visual Studio Options menu.  Go to Tools -> Options and navigate to VsVim in the dialog that pops up.  The old menu is in that section under Keyboard
    • Thanks for your reply! But, I can't find the VsVim popup when I search VsVim in the dialog of the options! Hmm.. T.T
    • Did you type VsVim into the search box or just scroll down?  Don't think searching is supported but VsVim will be there if you scroll to the bottom.  
31 - 40 of 245 Items