4 ms·
Huh, you can do visual selections in vim as well, and manipulate what you selected.
by toenail 2y ago
Huh, you can do visual selections in vim as well, and manipulate what you selected.
- animal_spirits 2y agoyes it works the same but for example in vim you do 'delete-inner-word' rather than `inner-word-delete`. The selection first model allows you to see what you are going to affect before you perform some verb on it.
- skydhash 2y agoI once wanted to try that, but I'm familiar with vim enough that these kind of manipulation is done without even thinking about it. Only visual line mode proves useful when I need to yank/delete whole sections.
- eviks 2y agoNo, you can't, vim visual mode always extends the selection, so moving by two words would select two, not the last one, but to see how it's different the best way is to just use the visual-first editor a little bit