Merge column-mode and multi-edit
-
I sometime need to edit similar lines the same way, e.g.
foo bar baz
fofo baba bzbz
etc…to e.g.
$foo, $bar $baz;
$fofo, $baba, $bzbz;
etc.I can use colum mode to select the lines which gives me a cursor at the start of each line. But after having inserted the $, I need to move to the end of the word and the distance varies. I would normally use ctrl->right key to move over the word, but this unselects the block and only takes the last position and moves from there.
In multi-edit mode, I can click on the start of each line and then edit normally, but on several lines at the same time, which is what I want. But having to ctrl-click at the start of each line is very tedious.
Is there a way to make column mode behave more like multi-edit?
Or is there a way to mark the editing start points for multi-edit mode in a simple way without using the mouse?
-
If I understand your problem correctly, the answer is:
Yes, install the pluginBetterMultiSelection
via the plugin admin dialog. -
@ekopalypse Perfect! This does exactly what I want. Thank you. :)
-
Happy to help.