Also, you know, insert Emacs joke here assuming if you still have enough RAM to post, etc.
Also, you know, insert Emacs joke here assuming if you still have enough RAM to post, etc.
The editor wars are over and everyone won because of separation of concerns. Yay!
All composed commands. Like Repeat. As in `repeat the following command 5 times`.
Like `d5` in Vim (delete 5lines).
Or y30 (Copy 30 lines).
Or `V?^func` (select text from current cursor position to the beginning of the function).
None of those are memorised commands. They're simply one command composed with another.
Composability is the real killer feature in Vim. Even in Emacs, I don't get the same ease of composability as I do in Vim.
M-b causes it to go back to the beginning of the word and search ends, you can still adjust the selection with other movements. It's not as tight as V?<regex> but it's still composable.
Or you use evil mode and get those vi-style bindings in the editor.
EDIT: Actually, playing around with your `V?` command doesn't it select that entire line rather than to that pattern? So the emacs equivalent would actually be: C-space C-M-s ^func C-e
Well, that changes things. I replied to the 'programming text editor' part.