I have the following line, that has no spaces -


I want to select (highlight for yanking) 10 characters, starting at column 10.

I can navigate to column 10 by :10| but then how would I visually select ten characters starting under the cursor?

1 Answer 1


(without the colon) moves the cursor to column 10, enters visual mode and expands the selection 9 characters to the right, ready to yank.

  • 1
    Like everything in Vim: :help l.
    – romainl
    Jul 29, 2014 at 14:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .