I've been using vim for not that long and got stuck with marking when I'm in the insert mode. I do it as follows:
<ESC>v
- Mark the text I need
- Do something with it
- Enter to the insert mode again
Now I think that the approach taken by classical editors (hold CTRL+SHIFT and then press LEFT
or RIGHT
) is a little bit convenient. Especially if we need to select just one word we just typed (I'm not talking here about compilicated visual blocks). I think so because we don't press <ESC>v
.
Maybe there is a simpler way to mark while we are in insert mode?
<left><left><left><left>
. Try<Esc>viw
for highlighting the current word and check out:h text-objects
for more and better ways to select text.