3 ms·
I've found learning vim--either as a plugin for IntelliJ or Chrome or Firefox or as a minor mode in Emacs or by itself--probably the most productive thing I've
by tarkin2 4y ago
I've found learning vim--either as a plugin for IntelliJ or Chrome or Firefox or as a minor mode in Emacs or by itself--probably the most productive thing I've done on a computer. I spend all my time editing code. It's incredibly useful to learn how to do that quickly.
I went through trying to customise it perfectly but I found it is better--more portable for one thing--to learn its defaults. I enable a couple of things, like mkview and tabstop etc, but no more than 10 or 15 lines.
My only criticism relates to the fact it's an editor, not an IDE; there's vimscript and I've made various vimscripts to give it IDE-like functionality, but the plugin system, and plugin systems, or lack of a in-build one, let it down. And it doesn't seem, unlike emacs, that is was designed with extensibility in mind.
But as an editor: it's unparalleled.
- Koshkin 4y agoI don’t know about it being unparalleled, but when I am in a terminal I don’t think twice before typing ‘vi’.
- ElijahLynn 4y agoAnd for those who don't know, on most modern Linux-based distributions `vi` is an alias for `vim` which is Vim (Vi IMproved).
- phist_mcgee 4y agoTrue scotsmen exclusively use ed.
- jrumbut 4y agoIt's the standard.
- Koshkin 4y agoHmm… I find myself using ‘cat’ more often.
- bqmjjx0kac 4y agoCat, head, and tail are all you need.
- u801e 4y agoA lot of commands in ed also work in vim's ex mode. In fact, ex is an extended version of ed and vi is the visual mode for ex.