Vim's Real Advantage


I love emacs. The consistent interface, strong scripting language (even if elisp has dynamic scope), and easy extensibility make it a joy to use. Just off the top of my head, emacs has these applications to make it worth living in:

  • TRAMP
  • Org-Mode
  • Gnus
  • AucTeX, with its live preview
  • eshell/ ansi-term
  • evil-mode
  • Dired
  • Proof General (for formal language work in Coq, Agda, etc.)

But I use (neo)vim as my editor. And it’s really for 2 features: good composable commands and easy temporary mappings.

Text objects are amazing once you get used to them. Evil mode has them, but mapping keys in evil-mode is annoying, and temporary vim-style mappings.

In vim, you can do this:

:nnoremap s diw<right>

emacs is less friendly to that sort of ad-hoc mapping.

I also like the true color of neovim, but that’s secondary.

Related Posts

How to Disable Disqus Ads on your Blog

Derivation of Reservoir Sampling

Fun with Python Iterators: Linked Lists Made Easy

Notes for November 11, 2018

Underrated Vim Option: undofile and undodir

Hot Take on Solo Travel: Starve

Alan Perlis

Book Notes: The Map of My Life by Goro Shimura

Prague

Way to remember the definition of local finiteness