Great extension bringing the power of Vim to Visual Studio. It's clearly not easy writing an extension like this and making it play nicely with all the other extensions on the market. However, VsVim achieves this and Jared is quick to respond and fix issues that do arise. I did actually buy ViEmu a long time ago, but have never looked back since finding VsVim. One day, I hope to actually find some time to contribute back.
This has been great except it created issues with the package management counsel. I am not sure if happened when i created the key bindings or just bug in the code. Whenever i need to use PMC i have to disable the vim plugin.
Can you elaborate a bit on what problem you are seeing with the package manager console? There was a bug in previous versions of NuGet which caused VsVim to install itself into that window. However I fixed that for them some time ago and still appears to be fixed in version 2.3.40211.9384.
Hi there, really happy with the plugin. I've never used vim full time and now is a good chance to get close to it.
Here is my question:
I was able to mark a postion by using 'ma' for example. But when I tried ':delmarks a', it said parse error. Is there a different way to delete a mark?
I'm on visual studio 2012 professional.
Thanks for reporting this issue!
At this point there is no support for the deleting of marks. I went ahead and filed a bug to get this support added to a future version
When I try to yank a range of lines I get a parse error. Is this a known issue?
For example I have set two marks, a and b, on different lines in a file, then type
I get a parse error.
Thanks for the plugin, other than this issue so far I'm very happy to find it.
Thanks for reporting that issue!
This was supported at one point but it does appear to be broken at the moment. I filed a bug to try and get this fix into the next version
Hi Thanks so much for the plugin, I've been working on HTML recently, and the text motion 'at' and 'it' didn't seem to work.
In normal vim if you type 'vat' it selects visually selects the current tag and all its contents.
Is this something that is already or on the books to be implemented?
I am used to using VS in a dark theme. However the vim status bar is always white which makes it a little bit dazzling. Is there a way to hide it at most of the time, or to change its color to a dark one also? Thanks.
The color of the caret can be changed via the fonts and colors page in Visual Studio. To access it go to Tools -> Options -> Environment -> Fonts and Colors. The name of the value is "VsVim Caret" or "VsVim Block Caret". You can change it to any color in that menu
Thank you very much for your prompt reply. After opening Fonts and Colors settings I realized what I was looking for was actually "VsVim Command Window". Maybe I didn't express myself clearly. Thank you all the same.
VS2012 update 3, latest VsVim.
Scenario 1: hello.html is open in editor with modifications. :w saves hello.html; :wa does not save hello.html.
Scenario 2: hello.js is open with modifications. Same behavior as Scen. 1.
Scenario 3: hello.js and hello.html are open, both are modified, hello.js has focus -- :w saves hello.js as expected; :wa does nothing.
Scenario 4: Same as Scen. 3, but hello.html has focus. :w saves hello.html (as expected); :wa saves hello.js, but not hello.html (the current buffer).
Weird. Fortunately, I have an add-in that save all buffers when VS2012 loses focus...
Sorry you're hitting a bug here. It looks like you are running into the following isuse
This will be fixed in the next version of VsVim. Should be released in a week or so
First of all, thanks for this great extension. I think support must be missing for multiple substitution commands on one line, because I can run each of these commands separately:
:s/<%= /@( /g
:s/ %>/ )/g
But when I try to run this command I get a "Trailing characters" error:
:s/<%= /@( /g | s/ %>/ )/g
I've just installed VsVim with the Visual studio Gallery. unfortunately, VsVim remain disable (Enable button is greyed) in "tools/Extensions and Update".
Did I forget something?
Visual Studio Ultimate 2012 (Update 3).
The `!` and `:shell` commands should work in the current released version of VsVim. They were added a few releases ago. Here is the original issue that tracked adding them into the product
Are they not working for you? If so can you give me some details on what is going wrong?
I continue to absolutely enjoy VsVim and you keep fixing all the bugs I find! Any way we can pay for this thing? It has easily earned me hundreds of thousands of dollars in productivity (see www.tzaccounting.com)!
So...in the T-SQL editor for VS2010, when you load VsVim, the tab rendering is different to the native one when VsVim is disabled. Seems like VsVim makes the tab width larger causing alignment to be wrong.
Check out the following pic: http://postimg.org/image/a8szj4wf5/
I typically edit my SQL files in SQL Server Management Studio, and only occasionally open them in VS2010 for review. The tabs render properly in Management Studio as well, but not in VS2010 when VsVim is enabled.
Thanks in advance!
Looked at the VsVim source and noticed you have support for the gVim settings "tabstop" and "shiftwidth". So I fixed the problem by adding the following to my _vsvimrc file:
set shiftwidth=4 "use two spaces per tabstop.
set expandtab "convert tabs to spaces.
Now everything lines up perfectly!