Skip to content

Instantly share code, notes, and snippets.

@mrkschan
Created December 13, 2013 09:46
Show Gist options
  • Save mrkschan/7942083 to your computer and use it in GitHub Desktop.
Save mrkschan/7942083 to your computer and use it in GitHub Desktop.
my vim statusline
" Taglist integration
let Tlist_Process_File_Always = 1
" statusline config
set laststatus=2
set statusline=
set statusline+=%< " cut at start
set statusline+=%f " relative path
set statusline+=\ -\ %{Tlist_Get_Tagname_By_Line()} " taglist
set statusline+=%= " seperate between right- and left-aligned
set statusline+=%y " file type
set statusline+=%10(%l,%c%)\ \ \ " line and column
set statusline+=%P " percentage of file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment