4 ms·
I like how people think vim is vi, and talk about vim-specific features as though they are in all vis. Incidentally, I sometimes use vim as $EDITOR when dealin
by jrockway 17y ago
I like how people think vim is vi, and talk about vim-specific features as though they are in all vis.
Incidentally, I sometimes use vim as $EDITOR when dealing with perforce, because if the editor dies (or fails to start) for any reason, all changes are committed by default with no commit message... and sometimes I don't have an emacs for emacsclient to connect to. (The result is 30 minutes of work trying to get perforce to uncommit my changes. Usually I fail and just comment out the tests, commit that, and fix the code later. Ah, perforce...)
Anyway, I recently discovered that C-p, C-n, C-b, and C-f work as they do in Emacs. They just need to add C-a, C-e, M-m, C-k, and C-y, and normal mode will become unnecessary. (And I won't need to install mg on so many machines.)
And then vim will almost have as many editing features as my bash prompt ;)
- Locke1689 17y agoHint: set -o vi That said, if you really believe that vim can't do everything that emacs can do in editing, I have nothing else to say...
- jrockway 17y agoEditing is but a small part of programming.
- Locke1689 17y agoEditing is a large but incomplete part of programming, which is why vim is a large but incomplete part of my programming environment. Look, if you're arguing this just to take potshots at "that thing you don't like" then we should end this conversation now. If you're open to the possibility that we can both be productive with different toolsets then I'd like to learn more about your setup and maybe share some of the benefits of mine.
- scott_s 17y agovi is vim on every machine I have used in the past several years. Anytime someone refers to vi, I just assume they mean vim.