diff --git a/.vim/startup/vundle_vimrc b/.vim/startup/vundle_vimrc index 7a5b6e6..a34ec3c 100644 --- a/.vim/startup/vundle_vimrc +++ b/.vim/startup/vundle_vimrc @@ -45,6 +45,7 @@ Plugin 'vim-airline/vim-airline' Plugin 'vim-airline/vim-airline-themes' " syntax highlight for Dockerfile Plugin 'ekalinin/Dockerfile.vim' +Plugin 'hotoo/pangu.vim' " Git plugin not hosted on GitHub Plugin 'git://git.wincent.com/command-t.git' diff --git a/.vimrc b/.vimrc index 42d3389..6f38be1 100644 --- a/.vimrc +++ b/.vimrc @@ -267,6 +267,8 @@ autocmd BufReadPost * \ exe "normal! g`\"" | \ endif +autocmd BufWritePre *.markdown,*.md,*.text,*.txt,*.wiki,*.cnx call PanGuSpacing() + set diffexpr=MyDiff() function! MyDiff() let opt = '-a --binary '