Browse Source

Add auto space between words

- https://github.com/hotoo/pangu.vim

Signed-off-by: Ein Verne <[email protected]>
pull/4/head
Ein Verne 7 years ago
parent
commit
208d639251
  1. 1
      .vim/startup/vundle_vimrc
  2. 2
      .vimrc

1
.vim/startup/vundle_vimrc

@ -45,6 +45,7 @@ Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes' Plugin 'vim-airline/vim-airline-themes'
" syntax highlight for Dockerfile " syntax highlight for Dockerfile
Plugin 'ekalinin/Dockerfile.vim' Plugin 'ekalinin/Dockerfile.vim'
Plugin 'hotoo/pangu.vim'
" Git plugin not hosted on GitHub " Git plugin not hosted on GitHub
Plugin 'git://git.wincent.com/command-t.git' Plugin 'git://git.wincent.com/command-t.git'

2
.vimrc

@ -267,6 +267,8 @@ autocmd BufReadPost *
\ exe "normal! g`\"" | \ exe "normal! g`\"" |
\ endif \ endif
autocmd BufWritePre *.markdown,*.md,*.text,*.txt,*.wiki,*.cnx call PanGuSpacing()
set diffexpr=MyDiff() set diffexpr=MyDiff()
function! MyDiff() function! MyDiff()
let opt = '-a --binary ' let opt = '-a --binary '

Loading…
Cancel
Save