say for example, I have this text:
<div class="test1"></div> <span class="highlight"></span> <nav class="tester"></nav> <aside class="wrapper"></aside>
I want use visual block mode to add a new class to each line - in one action - so the result is:
<div class="test1 new_class"></div> <span class="highlight new_class"></span> <nav class="tester new_class"></nav> <aside class="wrapper new_class"></aside>
I have tried enter visual block mode Ctrl + v, select all 4 lines, but I cant move the cursor position to the 2nd
" in each line, I have tried
2f" , which does find the 2nd
" - for one particular line, but then the cursor position of that line dictates the position for all the other lines. I cant get the cursor position to find the 2nd
" for each individual line.
I know another solution to this problem is to simply visually select the lines with regular
visual and then use command
this works, but is it possible to use
-- VISUAL BLOCK -- to do this?