Wait, what? Emacs, nano, and atom all have the ability to mark, then move, then do something to the selected area. How is that not command composition of the exact same sort?
there's implicit marking, in your parlance, in vim. so if i do dw it will delete a word from my current cursor position. it sounds like you would have to do mark, move word, delete (no idea how this is done in emacs).
edit: in addition, what if you wanted to delete three words? in vim, it's just 3dw
In emacs, you can mark (C-@), move 3 words (C-u 3 move-word) then delete (C-w). For move word I use control-arrow key, though I suppose there's other ways to do it. Hmm, I can also delete three words using C-u 3 C-<del> since control-delete will delete from the cursor to the next word. Or I usually just hold <ctrl> and hit <del> 3 times.
It's more keystrokes, but that's a necessity when using a non-modal editor.
Implicit marking is no great boon. All it means is that you can deduplicate movement keys from selection keys (or avoid a specific mark mode), but I personally don't find shift hard to press.
Numeric modifiers are useful, but hardly amazing - the vast majority of the time I don't want to have to count to edit text. Ergo why in this demo from this conversation I use my large jump keys and fiddle around with the selection to make it the right size rather than press Alt-5 to get an exact match immediately from a precise repeat count. Nonetheless, I do occasionally use numeric modifiers; I just don't do it much. It wasn't all that difficult to add them to Sublime, and they work fine with selections.
Personally, I find selections a lot more composable than I found Vim's grammar, and frequently do things with them that would have confused me to no end with Vim. YMMV.
edit: in addition, what if you wanted to delete three words? in vim, it's just 3dw
In emacs, it's M-d, M-d, M-d, so basically three keystrokes as well. Sure, if you have to delete fourteen words the difference starts to show, but before you know you want to type "14" you have to count those words, and if you just delete them as you go instead of counting them I have a hard time believing it will take longer.
edit I forgot about M-number. You can press M-3, M-d, or for 14, M-14, M-d.
23
u/pje May 07 '16
Wait, what? Emacs, nano, and atom all have the ability to mark, then move, then do something to the selected area. How is that not command composition of the exact same sort?