2 ms·
> I mean, I don’t know of a single feature of any kind that doesn’t exist on essentially all modern editors. All composed commands. Like Repeat. As in `repeat
by lelanthran 3y ago
> I mean, I don’t know of a single feature of any kind that doesn’t exist on essentially all modern editors.
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.
- Jtsummers 3y agoIn emacs your repeat commands are C-u <number> <other command>. Your selection would be C-space C-s func M-b. 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
- kstrauser 3y agoWell, ok. I’m specifically talking about what might count as an IDE feature. Vim and Emacs can run in a terminal, but that’s not a defining characteristic of an IDR. More like, everything can do interactive debugging, and syntax highlighting, and code completion, edit-time error flagging, etc. etc.
- lelanthran 3y ago> Well, ok. I’m specifically talking about what might count as an IDE feature. Well, that changes things. I replied to the 'programming text editor' part.