Permalink
Browse files

Changing color on status line modified readonly flag.

  • Loading branch information...
1 parent 39e14fd commit 68474a145886d628965b2acec26eb70c81e0095f @ksykulev committed Jan 4, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 vimrc
View
@@ -46,7 +46,7 @@ set directory=$HOME/.vim/tmp//,. " Keep swap files in one location
set laststatus=2
set statusline=%f\ " Show Full Path of file
-set statusline+=%(%m%r\ %) " buffer info (modified, read-only etc...)
+set statusline+=%2*%m%r%* " buffer info (modified, read-only etc...)
"set noexpandtab " Use tabs for tab key
"set expandtab " Use spaces for tabs
@@ -80,7 +80,7 @@ let php_folding=1 " PHP
let ruby_fold=1 " Ruby
"" when ~/.vimrc is changed, autoload
-autocmd! BufWritePost .vimrc source %
+autocmd BufWritePost .vimrc source %
" autocmd! BufWritePost .gvimrc source %
" color overrides

0 comments on commit 68474a1

Please sign in to comment.