Re:Intermediate Vim
by brianpgordon on Wednesday May 01, 2019 @10:01AM
(#19797033)
For that example I would open the document in Sublime Text, select all, and split selection into lines so that I have an independent caret on every line. Then I'd just type the quote at the beginning and end of each line - the home/end keys will put each caret at the beginning or end of its respective line.
[ Parent
| on HN ]
Re:Intermediate Vim
by rbavocadotree on Wednesday May 01, 2019 @10:56AM
(#19797549)
I've been using vim a lot recently. Multiple cursors for this exact scenario is the only thing I still miss about other editors.
Macros and other solutions are great, but for this very simple and surprisingly common task, multiple cursors are perfect.
Re:Intermediate Vim
by FiddlyPack on Wednesday May 01, 2019 @01:49PM
(#19799733)
Multiple cursors has been supported for quite some time now in VSCode, as well as related useful default editor shortcuts like jump cursor by word, beginning/end of line, etc, that are especially useful when moving around multiple cursors/selections simultaneously.