Permalink
Browse files

Changed status line

  • Loading branch information...
1 parent a3a54c7 commit 5fd64169f6e9e616af7f84707521a81deeeb8ffb Brian Cray committed Oct 9, 2013
Showing with 8 additions and 1 deletion.
  1. +8 −1 .vimrc
View
9 .vimrc
@@ -51,7 +51,14 @@ set hid
set laststatus=2
" Format the status line
-set statusline=\ %F%m%r%h\ %w\ \ CWD:\ %r%{getcwd()}%h\ \ \ Line:\ %l
+set statusline=
+set statusline+=%{fugitive#statusline()}
+set statusline+=\ [%F]
+set statusline+=\ %y
+set statusline+=\ [%{strlen(&fenc)?&fenc:&enc}]
+set statusline+=%=
+set statusline+=\ %l/%L
+set statusline+=\ %P
" Height of the command bar
set cmdheight=1

0 comments on commit 5fd6416

Please sign in to comment.