4 ms·
As a power Vim user, I can attest that multiple cursors do at least 75% of what I want to do in Vim, and multiple cursors are better and faster.
by stevebmark 5y ago
As a power Vim user, I can attest that multiple cursors do at least 75% of what I want to do in Vim, and multiple cursors are better and faster.
- h0l0cube 5y agoHow about macros? I find i use them on at least a daily basis
- cercatrova 5y agoWhat kinds of macros do you use?
- h0l0cube 5y agoYou can build a macro on the fly to do some transformation for, say, a line of text, or even a function, and just repeat those manipulations. Usually they are crude combinations of vim inputs that work well enough for the situation at hand. Obviously it's not a replacement for IDE refactoring, but if you're using a vim emulator, you can do both
- beej71 5y agoOne transform I've done a few times is something where you have a list like this: foo bar baz And you need each line transformed into: [Foo](https://example.com/foo.html https://example.com/foo.html) Or something like that. Macros make short work of it.
- WithinReason 5y agoMultiple cursors as well.
- beej71 5y agoMy multiple cursor-fu isn't good enough to know how to do that with words of different lengths. I should get more into it.
- vicda 5y agoMacros and replaying my last command at a new location are the biggest thing I miss from vim. With regex replace groups you can generally get close enough to the desired productivity though. (Personally, I find vim's multiselect cumbersome to use compared to sublime/vscode's.)