Hacker News new | ask | show | jobs
by bbcbasic 4222 days ago
RE: Has anyone succeeded in deliberately changing editors?

I am currently learning Vim and using it with the NERDTree plugin as a fairly nice environment to write Ruby on Rails code in my spare time. It is also nice as I have a low power PC running ubuntu in a virtualbox. So Eclipse is a no-no anyway.

At work I use Visual Studio but have a Vim open all the time for where the Vim advantages outweigh the visual studio advantages. Often this is in editing config and xml files. C# Code files are nicer to edit in Visual studio with autocomplete, debugging etc.

Main things I love about Vim - being able to split and tab quickly from the keyboard. And all those keyboard shortcuts to do practically anything. And it is fast. I really hate Eclipse now! Visual Studio is OK but Vim is so fast and lightweight.

1 comments

You may find vsVim (https://visualstudiogallery.msdn.microsoft.com/59ca71b3-a4a3...) useful. I can't use Visual Studio without it.
Installing VsVim was thing that really helped me get comfortable with vim. I'd use it at home, but I write way more code in the ~40hrs/week I'm at work.

VsVim doesn't cover everything, so as you start to get more advanced in your vim usage you'll start to miss features (for me at the moment, it's only partial support for folding). But it really makes every day VS so much better.

I tried that, but with no easy way to turn it off (without uninstalling it) it feels a bit 'in the deep end'. Once I am happy with using Vim productively I may try it.

Another concern with this is pairing, as there is no easy way to turn it off. Although staying in insert mode and keeping the default bindings for VS may be OK.

Ctrl+Shift+F12 disables and re-enables VsVim. When disabled it's as if it wasn't installed.
Thanks this is enough incentive to reinstall it and get vimming again.
it does allow you to easily default back to visual studio handling all of the commands. In fact, it's quite nice for a tweener vim user because you can have visual studio handle all the more complex keybindings that you don't recognize and just use it for the subset of commands you're comfortable with, and move from there