diff --git a/vimrc b/vimrc index 5250036..57e4108 100644 --- a/vimrc +++ b/vimrc @@ -227,6 +227,7 @@ au FileType python set noexpandtab au FileType javascript setlocal ts=2 sts=2 sw=2 au BufRead,BufNewFile *.json set ft=json + "" STATUS LINE set laststatus=2 " always hide the statusline @@ -266,6 +267,13 @@ set statusline+=%l/%L " cursor line/total lines set statusline+=\ %P\ " percent through file set laststatus=2 " always show status line +"" COLORING ELEMENTS +highlight statusLine cterm=bold ctermfg=yellow ctermbg=darkred +highlight statusLineNC cterm=bold ctermfg=black ctermbg=white + +highlight modeMsg cterm=bold ctermfg=white ctermbg=darkblue + +"" MISC FUNCTIONS function! FileSize() let bytes = getfsize(expand("%:p")) if bytes <= 0