Skip to content

Instantly share code, notes, and snippets.

@OliverUv
Created March 26, 2014 23:32
Show Gist options
  • Save OliverUv/9796189 to your computer and use it in GitHub Desktop.
Save OliverUv/9796189 to your computer and use it in GitHub Desktop.
set statusline=%<%F\ %m%r%h%w%{fugitive#statusline()}\ %Y\ %{FileEncoding()}\ %{&ff}%=%#warningmsg#%{SyntasticStatuslineFlag()}%*\ %c\,\ %l/%L\ %p%%\
" < truncation point
" F full path to file
" m modified marker
" r read-only flag
" h help buffer flag
" w preview window flag
" {fug..Shows branch if file is in git repo
" Y file type
" {&ff} output of command ff (file format)
" {FileEncoding} function defined above
" = split point for left/rigth justification
" #warningmsg# no idea
" {SyntasticStatuslineFlag()} syntax error stuff from syntastic
" * no idea
" c column number
" l line number
" L total line numbers
" p percentage through file (in lines as CTRL-G
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment