From a7ffcadf70b081a2dc8b3b22994a8eae39fdd01c Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Wed, 14 Sep 2016 11:34:48 -0400 Subject: [PATCH] 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 --- vimrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vimrc b/vimrc index 32826a8..8f26b97 100644 --- a/vimrc +++ b/vimrc @@ -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