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

How do you highlight the current line in Vim?

Answer

set cursorline

Explanation

Enable cursorline to highlight the entire line where the cursor is positioned. Customize the highlight with :hi CursorLine.

Next

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