Skip to content

Instantly share code, notes, and snippets.

@lithammer
Created November 22, 2013 10:04
Show Gist options
  • Save lithammer/7597622 to your computer and use it in GitHub Desktop.
Save lithammer/7597622 to your computer and use it in GitHub Desktop.
set statusline=%1*\ [%n]\ [%f]%m%r%h%w%y[%{&ff}:%{strlen(&fenc)?&fenc:'none'}]%=%(\ %c,%l/%L\ %)%P
" │ │ │ │ │ │ │ │ │ │ │ │ │ │ │
" │ │ │ │ │ │ │ │ │ │ │ │ │ │ └─ percent through file
" │ │ │ │ │ │ │ │ │ │ │ │ │ └─ total number of lines
" │ │ │ │ │ │ │ │ │ │ │ │ └─ current line number
" │ │ │ │ │ │ │ │ │ │ │ └─ current column number
" │ │ │ │ │ │ │ │ │ │ └─ left/right separator
" │ │ │ │ │ │ │ │ │ └─ file encoding
" │ │ │ │ │ │ │ │ └─ file format
" │ │ │ │ │ │ │ └─ file type
" │ │ │ │ │ │ └─ preview window flag
" │ │ │ │ │ └─ help file flag
" │ │ │ │ └─ readonly flag
" │ │ │ └─ modified flag
" │ │ └─ path to the file
" │ └─ buffer number
" └─ User1 highlight
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment