Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vim for doing java and C#? [closed]

I hope you let me off on the following technicality. I know this question has been asked before on here, but I want the most spanking new up to date answer and one that is tailored to my specific background and situation.

I asked my friends around about using vim for java and C# and they told me that vim ports suck and I should give up. I read about the plugin's that people use for Eclipse and Visual Studio and they told me those suck bad and aren't vim. Are they right?

I just learned vim this summer and I don't want to go back. I use Eclipse and Visual studio and I wonder if there are really good tools I could obtain that would allow me to code in native vim style for Eclipse/MS Visual Studio without losing the advantage of those debuggers. You know, basically allowing me to code in Java and C#.

I read on here about VIM plugin for Eclipse. However, I heard that is like only the hjkl commands. None of the cool stuff like scripting. So basically, to repeat myself for emphasis, do any of you know of really cool vim tools/plugins/whatever I can use for Eclipse and Visual Studio that will allow me to code in vim and get the best of both worlds?

like image 356
GeekyOmega Avatar asked Mar 24 '26 13:03

GeekyOmega


1 Answers

I have used ViEmu for Visual Studio and SQL Server Management Studio for over 3 years now and I highly recommend it.

It is not 100 percent of Vim, but goes far, far beyond "hjkl commands," with all the named buffers, navigation and support for really powerful things like macro recording and playback. It uses a config file (viemurc) just like Vim to allow you to customize your mappings.

You can map ViEmu commands to Visual Studio commands and macros to combine and extend the power. It really is the "best of both worlds," as you say -- Visual Studio offers too much to use any other editor for C# development.

ViEmu is a commercial product -- it does cost money -- but for the productivity and Vimmy joy I get from using it, I can say it has been a terrific investment.

like image 108
Jay Avatar answered Mar 26 '26 03:03

Jay