set laststatus=2 " show status line? Yes, always!
set noruler " show cursor position? Yep!
-set statusline=[\ %f%m\ %r%y\ %=\ hex:%B\ \ %l,%c%V\ \ %P\ ]
+set statusline=[\ %f%m\ %r%y\ %{fugitive#statusline()}\ %=\ hex:%B\ \ %l,%c%V\ \ %P\ ]
set shiftwidth=4 " Number of spaces to use for each insertion of
" (auto)indent.