Answer the question
In order to leave comments, you need to log in
Vim: how to select multiple words of different lengths spanning multiple lines in block selection mode?
Let's say I have this code:
var = "Hello"
long_name_var = "World"
variable = "!"
<C-v>2je
: But it didn't work out.
Answer the question
In order to leave comments, you need to log in
You can't do that with native Wim, but it seems you can with the multiple-cursors plugin. The original terryma/vim-multiple-cursors hasn't been updated for two years now as I see it now, you might want to use the kristijanhusak/vim-multiple-cursors fork .
There are other ways to achieve this functionality in vim. Cm.:help repeat.txt
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question