Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

make sure that vimrc is sourced on save

  • Loading branch information...
commit fab88b089cc1e184e5a1547170e7ebca645019fd 1 parent ff5ad46
@stevepsharpe authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 vimrc
View
5 vimrc
@@ -19,6 +19,11 @@ nnoremap k gk
inoremap jj <ESC>
+" Source the vimrc file after saving it
+if has("autocmd")
+ autocmd! bufwritepost .vimrc source $MYVIMRC
+endif
+
if exists(":Tabularize")
nmap <Leader>a= :Tabularize /=<CR>
vmap <Leader>a= :Tabularize /=<CR>

0 comments on commit fab88b0

Please sign in to comment.
Something went wrong with that request. Please try again.