Hacker News new | ask | show | jobs
by MichaelGG 3671 days ago
I've been using vim inside of VS for a while (ViEmu and VsVim) as well as in Emacs (Evil) and straight vim for light editing. Of course typing a word out will be faster with autocomplete - it's less keystrokes. Where I find speed is navigating around lines, changing/deleting stuff (like changing inside parens or a string, deleting multiple lines, etc). It's small stuff that really adds up.

The real killer is quick macros. If I have to transform a bunch of lines, it's just a "qa<work>q" and a "@a" away. It's pretty amazing.

At first vim doesn't seem that great, but after using it for a while it's indispensable. Somewhere along the line you go from having to think about all the strange keystrokes to just getting a feel for it. Doesn't hurt that it makes you feel like a wizard, too.

Comparing with Emacs is a hands-down win - having to press Ctrl Alt whatever just to move around is silly. Emacs+Evil is sweet though. Comparing with VS's editor (Windows style, with Ctrl+Arrows for things) is also a huge win. Windows editing just isn't amazing.

VSCode's lack of full vim support is very disappointing.

2 comments

I really like spacemacs as it seems to bring the best of both emacs and vi. If you like evil, I recommend checking out spacemacs.
My big complaint against VIM is the default keybinds are not dvorak-friendly, and I don't want to spend a century messing with my keymap to get it to feel comfortabe. I typically just use IntelliJ for everything it has language support for, though I use vim for everything else still.