From aa8965ff94357b456f07f3b8416ce6b676a2bd76 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Tue, 12 Sep 2017 09:11:38 -0400 Subject: [PATCH] Cleanup plugins --- vimrc | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/vimrc b/vimrc index 807cf7f..c676a1a 100644 --- a/vimrc +++ b/vimrc @@ -8,31 +8,26 @@ Plug 'joshdick/onedark.vim' " keepers Plug 'airblade/vim-gitgutter' Plug 'atomaka/ZoomWin' " vim-scripts not up to date -Plug 'bronson/vim-trailing-whitespace' Plug 'ctrlpvim/ctrlp.vim' +Plug 'ntpeters/vim-better-whitespace' Plug 'rbgrouleff/bclose.vim' Plug 'tpope/vim-endwise' -Plug 'tpope/vim-eunuch' +Plug 'tpope/vim-eunuch' " move files +Plug 'tpope/vim-fugitive' Plug 'tpope/vim-git' Plug 'tpope/vim-surround' " languages -Plug 'fatih/vim-go' Plug 'posva/vim-vue' Plug 'tpope/vim-markdown' Plug 'tpope/vim-rails' Plug 'vim-ruby/vim-ruby' -" maybe -Plug 'tommcdo/vim-lion' -Plug 'tpope/vim-fugitive' -Plug 'tpope/vim-repeat' - call plug#end() filetype plugin indent on " STATUS LINE -set statusline=%<\ %f%{ZoomState()}\ %m%r%y%w%=\ Line:\ %l\/%L\ [%p%%]\ Col:\ %c\ Buf:\ #%n\ +set statusline=%<\ %f%{ZoomState()}\ %m%r%y%w%=\ Line:\ %l\/%L\ [%p%%]\ Col:\ %c\ Buf:\ #%n\ " OPTIONS set fileformats=unix,mac,dos " File format prefer unix endings @@ -135,7 +130,7 @@ nnoremap BD :Bclose! " other map fj :%!python -m json.tool -map fw :FixWhitespace +map fw :StripWhitespace map pm :set paste! map sa :Move % map se :e ~/.vimrc @@ -157,8 +152,7 @@ else endif syntax enable -" go -let g:go_fmt_command = "goimports" +highlight ExtraWhitespace ctermbg=196 " ZoomWin function! ZWStatline(state)