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.
set cursorline
Enable cursorline to highlight the entire line where the cursor is positioned. Customize the highlight with :hi CursorLine.