Add the vim-git plugin

This is yet another way to fix my 72 character wrap issue.  vim-git
aggressively fixes my formatoptions locally for git files.  It also adds
syntax highlighting for my gitconfig which is useful
This commit is contained in:
Andrew Tomaka 2016-09-14 11:34:48 -04:00
parent 012d4eb643
commit a7ffcadf70

3
vimrc
View file

@ -13,6 +13,7 @@ Plug 'ctrlpvim/ctrlp.vim'
Plug 'rbgrouleff/bclose.vim'
Plug 'tpope/vim-endwise'
Plug 'tpope/vim-eunuch'
Plug 'tpope/vim-git'
Plug 'tpope/vim-surround'
" languages
@ -39,7 +40,7 @@ set endofline " Add newline at end of file
set shellslash " Forward slashes
set nobackup " No backup files
set noswapfile " Hope for the best
set formatoptions=crqt
set formatoptions=crq
set textwidth=80
set cpoptions+=$ " delimit end of change text
set laststatus=2 " Always show status line