VIM emulation layer for Visual Studio

(256) Review
Visual Studio
2015, 2013, 2012, 2010
Download (315,625)
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Reviews (256)
Q and A (237)
Sign in to write a review
Sort by:

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.


by mood_zyx | May 08 2016

love it!!!! : )

by Robdobs | April 22 2016

by orlandow | April 16 2016

by Erdem Bircan | April 08 2016

Thank you.

by hwaki | April 06 2016

Thank you!

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.

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.


by Jon Hamm | March 15 2016

I use this on a daily basis. I am amazed by how much functionality of vim has been replicated!

by Ridderholt | March 08 2016

by DocLovepeace | February 26 2016

As a long time Vimaniac I have always waited for something like that.
Very good work!

by Gon Solo | February 13 2016

Perfect! :)

by AlexSep | February 04 2016

Exactly what I needed.

by FlyingToaster | January 22 2016

Really, truly great, and always improving!

by listeners | January 15 2016

Vim + IntelliSense

by Willie Tilton | January 08 2016

Increased productivity a lot. Awesome tool. Thanks Jared.

by Jonatan Cortes | January 07 2016

I am trying to get the most out of Vim, but being a .NET coder it was quite difficult.

VsVim is a must-have for .NET vimers.

by kaptux | January 04 2016

by PeterXiaoningWang | December 16 2015

I like this.

by malczu | December 15 2015

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

  • 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.  
  • Skip some vimrc commands in VsVim
    2 Posts | Last post September 12, 2014
    • Hi Jared,
      I have been using vim on windows for a while and have a good setup. Doing some VisualStudio work and VsVim has been working great for me. I have discovered a few plugins and keybindigs simple do not work, and reading through the notes found that they are not supported. That's fine, but I still want them for normal vim.
      Is there a way to exclude some vimrc lines from execution is VsVim? I searched the docs and could not find anything. I have exclusions for different OSs. I was hoping there was an env variable I could use to exclude a few items.
      Thanks for the help, 
    • One approach is to have a separate vimrc file for VsVim. If u have a file named _vimrc then VsVim will prefer that over a standard _vimrc. This is what I do. 
      I have thought about adding a VsVim variable for use in an 'if' block jn the rc file.  This will very likely happen for a future release but isn't implemented yet. 
  • VsVim does not remember selection for conflicting keyboard mappings
    3 Posts | Last post August 25, 2014
    • Hi Jared,
      I have mapped the Shift+Enter keys as follows: 
      imap <S-CR> <ESC>ma:w<CR>'a
      ...effectively it switches out of normal mode, creates a mark named 'a', saves the file, the jumps the mark 'a'.
      Works like a charm, except this key mapping seems to conflict with a VS one and so I go to the VsVim keyboard options and say that Shift+Enter should be handled by VsVim rather than VS. And it works, but after restarting the IDE the setting is lost and I have to set it each session. This problem was there even before you moved the VsVim options to the standard VS options dialog.
      Can you repro or am I missing something?
      Many thanks for looking into it,
    • Thanks for reporting!
      There are certain key bindings that are reset on every start of Visual Studio, it looks like this may be happening here.  If that is the case then I can set that command to be reset on every start up.
      Unfortunately I can't really do this for every bound command.  Checking key bindings is actually a relatively expensive operation (causes the disk to be hit quite a few times).  Hence I have to be very selective about when to check them else perf goes in the tank :( 
    • I tend to hibernate my laptop so a VS restart happens about once every 45 days meaning the problem is not all that bad. 
      To keep perf in check, perhaps you can check the bindings asynchronously and restore them or (more predictably) save them somewhere and provide a "restore" command that one can map using VS's standard keyboard mapping dialog, then execute manually as required.
      Many thanks!
  • Non-Latin language support in command-line window
    3 Posts | Last post August 24, 2014
    • Hello,
      First of all, thanks for the great software.
      I have a small bug fix wish for VsVim. Currently, it is impossible to input non-Latin characters in the command-line window. It seems the command-line windows does not handle IME messages correctly. Some Asian characters need to have so-call candidate state before they are realized as real characters. What I get is every single possible combination of characters during the composition and it is hardly usable for searching non-Latin words, etc.
      I hope the fix is easy.
    • Thanks for reporting that issue!
      Can you give me a bit more detail on the bug?  In particular some examples of how you are trying to use IME within the command line window?  
      I don't have a lot of experience with IME hence I need a bit of help to reproduce the problem.  Once I have it in front of me I should be able to get this fixed.  
    • Thanks.
      I will post a tweet at @jaredpar with a screenshot to explain the issue graphically.
  • Semantics of 'p' different to standard clipboard Paste behaviour.
    3 Posts | Last post August 19, 2014
    • Hi Jared,
      This may be a Vim quirk, but it has been confusing me for a while. With standard text editor Copy/Cut/Paste commands, the action of pasting does not alter the clipboard contents which allows you to paste the same thing repeatedly. Suppose you have:
      With standard commands, I can double-click on GoodWord to highlight it, hit Ctrl+C, then double click on BadWordX to highlight and hit Ctrl+V to paste and overwrite it with the word GoodWord. If I double-click BadWordY to highlight it again, with standard commands a paste will insert "GoodWord" as expected, but with VsVim's put command the text inserted is BadWordX (which was just overwritten in the last action), not GoodWord.
      It seems like the put command, when executed while Visual mode is active (i.e when something has been selected in the editor), will do a swap: the contents of the clipboard enter the selected area, and the contents of the selected area go into the clipboard. Invoking put when there's no selection will correctly insert the clipboard contents and leave the clipboard unaltered (so you can repeat it several times to paste the same text over and over again).
      gVim exhibits the same behaviour so VsVim is doing the "right thing" Vim-wise, but would it be possible to get a switch that turns on the Windows Paste semantics?
      Many thanks as always for your superhuman efforts maintaining VsVim!
    • Can you post your _vimrc somewhere I can take a look?  I'm pretty sure you can get this behavior with a combination of settings that are supported by VsVim.  
    • Sure: I sent you an attachment via email with the subject "Making 'p' in Visual Mode behave like Windows Paste."
      While researching how I may do this I came across the handy '[ and '] commands that move the caret to the start/end respectively of the text just pasted. Hope those will make it into VsVim sometime (apologies for bundling it here with another request).
  • Strange behavior in .cshtml
    10 Posts | Last post August 14, 2014
    • Latest vsVim in VS2013.
      I have this line in a .cshtml file:
         @Html.ActionLink("CM Demo", "Index", "CM", null, new { @class = "navbar-brand" })
      Editor is in normal mode.
      If the cursor is in one of the quoted strings ("CM", for example).
      When I use this command:
      I end up with this, editor is in insert mode:
         @Html.ActionLink("CM Demo", "Index", "C" +
                                               "M", null, new { @class = "navbar-brand" })
    • This should be fixed in the next version which is coming out on Monday. 
    • Problem still exists, VS2013, VsVim, ReSharper 8.0.2.
      @model DateTime
      @Html.TextBox("", Model.ToString("MM/dd/yyyy")) 
      ** TODO Wire up the date picker! **
      If the cursor is in the quoted string (in the "dd", for example), :w results in:
      @model DateTime
      @Html.TextBox("", Model.ToString("MM/d" +
      ** TODO Wire up the date picker! **
    • Hmm, it looks like my fix is only working a portion of the time.  There is a subtle startup race condition.  Looking into a more thorough fix 
    • Has this issue been addressed?  I'm still having it with VsVim, VS 2013 Update 2 and Resharper 8.2.1
    • I should also add, I LOVE VSVIM!  Thank you so much for it.
    • This ended up revealing a bug in Visual Studio that was fixed in 2013 Update 3.  Fully fixing this issue may require some work on my end even after the update though.  Hoping to get it installed and tested out sometime in the next few days 
    • Thanks for the update.
    • Even after updating VS2013 to update 3, insert behavior persist.
      Can u tell me when this would b fixed?
    • This bug is tracking all of the remaining work for :w in CSHTML files (post Update 3).  
  • creenMovement("j") inserted into document
    3 Posts | Last post August 12, 2014
    • I've just installed my machine clean, installed Visual Studio 2013 and then installed the latest VsVim  I accepted all the default options and key bindings.  After I restarted VS I found that whenever I hit any of the Vim movement commands I'm getting the following printed in my actual code.
      ... etc
      Is this a bug or have I broken my config somehow?
    • Apologies, ignore.  The issue was being caused by the fact that my GVIM _vimrc file was being detected by VsVim and was causing problems.
    • Glad you were able to get that fixed!
  • ; and , for Till
    4 Posts | Last post August 09, 2014
    • Hello,
      it doesn't appear that the ; or , keys work with till (t).  Shouldn't be advancing the cursor to the next occurrence?
    • I just checked and this was working for me.  I put the caret at the start of a line, ran t; and the caret moved to the space before the ;.  What behavior are you seeing?
    • Sorry, I didn't quite communicate clearly.
      What I mean to say is that when I have a line such as
      font = g.Content.Load<SpriteFont>("hud");
      where ^ is where the caret is, and I press 'te'  (no quotation marks)
      the line will become
      font = g.Content.Load<SpriteFont>("hud");
      Now, if I press the ';' key (no quotes), I expect the caret will advance to the next e location. ie
      font = g.Content.Load<SpriteFont>("hud");
      However, when I do this , the carret does not advance.
    • Thanks for the detailed steps!
      That behavior appears to match the behavior of gVim (verified on 7.2).  The `;` repeat search motion will exactly execute the previous char search.  In this case it is 'te' and the next 'e' is the one in front of the caret hence the caret doesn't move.  
      If you use 'fe' instead of 'te' then ';' will jump the caret forward (although it will be on the char instead of before it).  
  • Wish list: more autocmd support
    1 Posts | Last post August 08, 2014
    • Specifically:
          au FocusLost,TabLeave * call feedkeys("\<C-\>\<C-n>")
      Thanks for maintaining VsVim, I would not enjoy editing without it...
31 - 40 of 237 Items