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.
In some vsvimrc's I find that people have bound keys to commands such as
Debug.ExceptionSettings, View.FindResults1, View.FullScreen, Team.Git.GoToGitChanges, etc.
How can I find the vsc command equivalent of a Visual Studio command?
Try grabbing the latest build from here. It will work with Atmel 7. I'm going to do the official release that works next weekend.
I ran the build you linked to and the plugin installed successfully to atmel studio 6.2 but not 7.0. When I ran it a second time I get the message "The extension is installed on all available products".
I use VsVim on my native Surface Pro 3 OS and on a VM on my Mac both using Windows 10. I recently got a job where we use an AWS WorkSpace that is running Windows Server 2008 R2 and now I'm unable to use VsVim flawlessly (yy and dd both throw an exception for VS and halt the program for a second. Like a lag). All 3 instances are using VS 2015.
I've tried re-installing and recovering VS multiple times to make this work but still same issue. I guess my question is: is Windows Server 2008 R2 supported for this, the greatest of all VS extensions?
That's definitely supported. I actually do most of my own development on Windows server so that' shouldn't be the issue.
Curious: do you have a different vimrc on that machine? It's possible that VsVim is getting hung up on an entry there.
Tools -> Options -> Environment -> Fonts and Colors
Choose *Text Editor* in the "Show Settings For" box
Then, scroll down towards the bottom in the "Display Items" window until you find "VsVim Command Margin". By changing the foreground and background colors, you can change the bar (background) and the color of text in the bar (foreground) to better match your theme
I installed vsvim right after installed VS 2015 community edition, it works great except a weird problem: in edit mode, any control button does not work. Instead, it appends some code at the cursor. For example, if I press "enter", it will not change to the next line, but appends "CleverCr()". Same thing happens for Esc and Backspace. Any ideas? Thank you!
Mostly likely there is a mapping in your vimrc file that tries to execute a function on enter. VsVim reading the key mapping and issueing an error when it sees a function call (it doesn't support functions).
To work around this either add a _vsvimrc file for VsVim to use or disable normal vimrc loading (Tools -> Options -> VsVim -> VimRC File Loading).
Thank you! It's weird that I installed everything by default but still got this error. I uninstalled the vsvim on Tuesday and installed it just now, and now it works no matter I choose using vimrc or not using vimrc. But it's good to know what's wrong with vsvim. Thanks again :)
I am using TwinCAT 3 at work. This is basically a visual studio plugin that makes sps programming possible in the vs environment. Out of the box vsvim doesn't seem to work with this, but I would love it it would - I think Beckhoff (the developer of twincat 3) seems to use modified components and I guess that is why vsvim doesn't integrate with it. do you think that it's possible to integrate it?
Can you elaborate a bit on what doesn't work in this scenario?
When VsVim doesn't work with other extensions it's generally because we are competing for the same key strokes and the other extension is winning. If that's the case here it's just about scheduling it so VsVim wins key strokes win appropriate and defers to the other extension when not.
Atmel Studio 7.0 released and I modified the manifest file to include:
The package did not load because it did not find the product. What am I missing?
The following is part of the log. I can see that it recognize AtmelStudio but not 7.0 version. I should mention I have Atmel Studio 6.2 which installs fine. I remove AtmelStudio 6.2 from the manifest to force extension to install to 7.0.
10/2/2015 3:37:12 PM - Found installed product - AtmelStudio
10/2/2015 3:37:12 PM - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
Made the above changes to the manifest and could not install by "double click" however the linux guy in me came out and attempted through cmd and it worked. Have not played much with it to find out if its buggy or not but it installed and "<ESC>:w" works!
for those who are not used to the command prompt the command was
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\VSIXInstaller.exe" VsVim.vsix
Make sure you are in the folder that VsVim.vsix is in or else put the full path to the file in quotes where VsVim.vsix
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\VSIXInstaller.exe" "C:\Users\user\Documents\VsVim.vsix"
Sorry for the multi post but I just tried through the command prompt and found that the version of VSIXInstaller.exe from Studio 10 (which was the last one that I have installed) did not work properly it is possible that you need to use the latest version of the VSIXInstaller.exe (see last post)
Thanks to the dev for all your work on this essential extension
Command line works!! The default program to open vsix is "Microsoft Visual Studio Version Selector", that program probably did not select the correct installer. I wanted to try the different versions of VSIXInstaller.exe installed on my system. I could not find where VSIXInstaller for 9.0 but the other seem to work. Thank you Jared and Sean.
I cloned a repository VsVim(https://github.com/jaredpar/VsVim.git).
Add to file source.rxtension.vsixmanifest line:
I build the project and install the VsVim.vsix file from the command
line as recommended by Seanfalloy.
("C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\VSIXInstaller.exe" VsVim.vsix )
Addon works in AS7.0.
Thank you Jared and changjx and Seanfalloy.
I've looked thru this whole discussion and can't get VSvim to work in Studio 7. Followed the cmd line method and it executed and then said it was already installed in all applicable programs. Looked thru all menu's and selections and see no way to activate it. tried Ctrl-Shift F12 and that has no affect either. have reset both Studio 7 and computer several times. What is the "manifest" file mentioned in one of the posts. is there an entry still required there and then re-run the installer?
Ran it and it says installed OK and to close all instances. Do that and nothing happens. tried the ctrl shift f12 no difference. in general Atmel studio 7 is a large disappointment on many levels, this being only one. I'm guessing the problem lies with studio 7 it has so many other bugs its hilarious.