Skip to content
Browse files

Changed status line and enabled relative line numbers

  • Loading branch information...
1 parent 8ae3ae7 commit d6630e54657407d95cd2d96a7e78f0f7fb18f5b9 @flippingbits committed Feb 2, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 .vimrc.local
View
6 .vimrc.local
@@ -22,4 +22,8 @@ au BufRead,BufNewFile *.{fbml} set ft=html
" %V current virtual column number (-n), if different from %c
" %P percentage through buffer
" %) end of width specification
-set statusline=%<\ %n:%f\ %m%r%y%=%-35.(line:\ %l\ of\ %L,\ col:\ %c%V\ (%P)%)
+"set statusline=%<\ %n:%f\ %m%r%y%=%-35.(line:\ %l\ of\ %L,\ col:\ %c%V\ (%P)%)
+set statusline=[%n]\ %<%.99f\ %h%w%m%r%y\ %{fugitive#statusline()}\ %{exists('*CapsLockStatusline')?CapsLockStatusline():''}\ %{SyntasticStatuslineFlag()}%=%-16(\ %l,%c-%v\ %)%P
+
+" I prefer relative line numbers
+set relativenumber

0 comments on commit d6630e5

Please sign in to comment.
Something went wrong with that request. Please try again.