diff --git a/.vimrc b/.vimrc index f855a61..16b46f0 100644 --- a/.vimrc +++ b/.vimrc @@ -29,6 +29,8 @@ inoremap { {}O inoremap {{ { inoremap {} {} +"remove whitespace +nnoremap :let _s=@/ :%s/\s\+$//e :let @/=_s :nohl :unlet _s "Sane window management map h @@ -36,9 +38,9 @@ map j map k map l -:nnoremap :bnext -:nnoremap :bprevious -:noremap :Autoformat +nnoremap :bnext +nnoremap :bprevious +noremap :Autoformat "CTRL-N to open Nerd Tree map :NERDTreeToggle @@ -64,26 +66,28 @@ Plugin 'evanmiller/nginx-vim-syntax' " My Plugins here: " " original repos on github -Plugin 'tpope/vim-fugitive' +Plugin 'tpope/vim-dispatch' +Plugin 'airblade/vim-gutter' +Plugin 'Xuyuanp/nerdtree-git-plugin' " Plugin 'fholgado/minibufexpl.vim' Plugin 'Valloric/YouCompleteMe' Plugin 'marijnh/tern_for_vim' -Plugin 'https://github.com/kien/ctrlp.vim' -Plugin 'https://github.com/klen/python-mode.git' -Plugin 'https://github.com/godlygeek/tabular.git' +Plugin 'kien/ctrlp.vim' +Plugin 'klen/python-mode' +Plugin 'godlygeek/tabulart' Plugin 'taglist.vim' Plugin 'mattn/emmet-vim' -Plugin 'tpope/vim-dispatch' +Plugin 'Yggdroot/indentline' Plugin 'vim-airline/vim-airline' Plugin 'vim-airline/vim-airline-themes' Plugin 'ntpeters/vim-better-whitespace' Plugin 'ap/vim-buftabline' -Plugin 'airblade/vim-gitgutter' Plugin 'elzr/vim-json' Plugin 'OmniSharp/omnisharp-vim' Plugin 'OrangeT/vim-csharp' Plugin 'morhetz/gruvbox' +Plugin 'ryanoasis/vim-devicons' let g:JSHintHighlightErrorLine = 0 let g:miniBufExplForceSyntaxEnable = 1