vimtricks.wiki Concise Vim tricks, one at a time.

How do you select from cursor to a mark in visual mode?

Answer

v'a

Explanation

Press v for visual mode, then 'a to extend the selection to mark a. Works with any mark for precise range selection.

Next

How do I visually select a double-quoted string including the quotes themselves?