4 ms·
a. Use case? b. Shift-Alt-Arrow Shift-Alt-Arrow Shift-Alt-Arrow Shift-Alt-Arrow Shift-Alt-Arrow Ctrl-X Alt-Arrow Alt-V. So 8 vs 5. Focusing on what it can do i
by binaryfinery 16y ago
a. Use case?
b. Shift-Alt-Arrow Shift-Alt-Arrow Shift-Alt-Arrow Shift-Alt-Arrow Shift-Alt-Arrow Ctrl-X Alt-Arrow Alt-V. So 8 vs 5.
Focusing on what it can do is irrelevant. I've been programming 29 years now. Can't think of a time I've needed to do that.
- silentbicycle 16y agoA use case for "5dwelp"? Teaching my roommate how vi's interface works, six or seven years ago. It was the first example that popped into my head. (I told you it was arbitrary. I switched to Emacs ~4 years ago.) The real point is that almost the entire vi interface sensibly combines that way, like APL operators. [quantity] [operation] [movement]. If I still used vi regularly, I probably could have given you a better example. Actually, I couldn't, but my fingers could have. :) It had all moved to muscle-memory. Emacs's interface is a bit more cumbersome, but it's also easier to follow it with, "...and from now on, call that X and add it to the interface".
- binaryfinery 16y agoThe real point is that almost the entire vi interface sensibly combines that way to operate on words, lines, paragraphs, regexps etc. Whereas a good IDE works on that which the words, lines, etc represent: i.e. a code dom.
- silentbicycle 16y agoActually, "words, lines, paragraphs" also includes statements, function calls, class definitions, and the rest of the "code dom", in a language-specific manner. Not so in nvi (a barebones vi), but definitely in vim.
- binaryfinery 16y agoDon't suppose you have a link to a decent tutorial on these features for, say, java?
- silentbicycle 16y agohttp://vimdoc.sourceforge.net/htmldoc/usr_29.html#29.3 http://vimdoc.sourceforge.net/htmldoc/usr_29.html#29.3 (vim-specific)