News for hackers. Stuff that matters.
Re:Staying the hell out of insert mode (vi) by jrockway on Monday April 26, 2010 @05:04PM (#1296060)
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 ;)

Re:Staying the hell out of insert mode (vi) by Locke1689 on Monday April 26, 2010 @05:26PM (#1296158)
Hint: 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...

Re:Staying the hell out of insert mode (vi) by jrockway on Monday April 26, 2010 @05:39PM (#1296227)
Editing is but a small part of programming.
Re:Staying the hell out of insert mode (vi) by Locke1689 on Monday April 26, 2010 @06:02PM (#1296325)
Editing 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.

Re:Staying the hell out of insert mode (vi) by jrockway on Monday April 26, 2010 @07:03PM (#1296539)
You're the one getting defensive. I am merely amused that vim added the Emacs-style keybindings to insert mode.
Re:Staying the hell out of insert mode (vi) by Locke1689 on Monday April 26, 2010 @08:13PM (#1296695)
Sorry -- you're right, I guess I've been trolled a bit too often as of late.
Re:Staying the hell out of insert mode (vi) by scott_s on Monday April 26, 2010 @05:52PM (#1296284)
vi is vim on every machine I have used in the past several years. Anytime someone refers to vi, I just assume they mean vim.