nosami / XSVim

[Obsolete] Vim emulation layer for Xamarin Studio / Visual Studio for Mac
MIT License
158 stars 12 forks source link
f-sharp fsharp vim xamarin

XSVim Gitter Build Status

This addin is obsolete

This extension only works for the older editor. For VSMac 8.4, you should install VsVim instead VsVim installation from the Gallery as VsVim works on the new editor.

Some file types (e.g. F#) are still currently using the old editor in VSMac. This addin will still work for those file types while the transition is made to the new editor.

Installation

Interact with Visual Studio for Mac as follows:

Visual Studio -> Extensions -> Gallery -> IDE Extensions -> "VIM" -> Install

Then close the current document that you are working on and open a new document to activate the plugin.

8.1 New Editor

Unfortunately, this addin does not work with the new editor that was made default in 8.1. To use this addin, make sure that the old editor is in use.

image

Alternatively, I have been working on making VsVim work for the new editor. If you want to try this out, please follow the instructions here

What works?

Most Vim commands should work. If you see something that doesn't work, please file an issue. There's a good chance that I just don't know about it.

What doesn't work

Why don't the control keys work?

Some Vim keybindings (such as Ctrl-F, Ctrl-D etc) conflict with VS's own built in keybindings. However, there is a keybinding scheme included that you may apply if you want (Visual Studio + Vim)

image

Extras

Insert mode escape screenshot

Looking for the latest release?

Check the release page as there is usually a more recent version of the addin here than on the Visual Studio for Mac feed. Grab the .mpack file and install it via Visual Studio -> Extensions -> Install from file

Support & Contributions

Jump in our Gitter channel and introduce yourself.

With thanks to