diff --git a/vimrc b/vimrc index 416debc..926b86c 100644 --- a/vimrc +++ b/vimrc @@ -164,12 +164,20 @@ set laststatus=2 " Format for the status line set statusline=\ %{HasPaste()} -set statusline+=%F%m%r%h -set statusline+=\ %y -set statusline+=\ %w +set statusline+=%F "File +set statusline+=%m%r%h "File mode/status +set statusline+=\ %y "File type +set statusline+=\ %w set statusline+=\ \ CWD:\ %r%{getcwd()}%h set statusline+=\ \ \ Line:\ %l.%c/%L +" Set the statusline color based on the current mode +au InsertEnter * call InsertStatusLineColor(v:insertmode) +au InsertLeave * hi Statusline ctermfg=black ctermbg=white guifg=black guibg=white + +" Grey status line on first entrance +hi Statusline ctermfg=black ctermbg=white guifg=black guibg=white + """" " Spell Checking """" @@ -194,6 +202,19 @@ map pp :setlocal paste!