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

How do you customize the status line in Vim?

Answer

set statusline=%f\ %m%r%h\ %=%l,%c\ %P

Explanation

Configure statusline with format items: %f (filename), %m (modified flag), %= (right-align), %l,%c (line,column), %P (percentage).

Next

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