Skip to content

Instantly share code, notes, and snippets.

@joakin
Created September 14, 2014 11:14
Show Gist options
  • Save joakin/97d8eef5f09d551e0f09 to your computer and use it in GitHub Desktop.
Save joakin/97d8eef5f09d551e0f09 to your computer and use it in GitHub Desktop.
set statusline=
set statusline +=%3*\ %n\ %* " buffer number
" set statusline +=%5*%{&ff}%* " file format
set statusline +=\ \ %<%f\ \ %* " full path
set statusline +=%4*%m%* " modified flag
set statusline +=%3*\ %y\ %* " file type
set statusline +=%3*%=%* " align right
set statusline +=%5*%4c\ %* " column number
set statusline +=%2*%5l%* " current line
set statusline +=%2*/%L\ \ %* " total lines
set statusline +=%5*\ %P\ " percentage of file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment