From af3f15e30e3b013f1aa0e53d8d225d23d1d882da Mon Sep 17 00:00:00 2001 From: Barak Michener Date: Tue, 21 May 2019 14:37:21 -0700 Subject: [PATCH] reorganize plugins --- .vimrc | 118 ++++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 70 insertions(+), 48 deletions(-) diff --git a/.vimrc b/.vimrc index 24d3f6d..461eaa7 100644 --- a/.vimrc +++ b/.vimrc @@ -87,66 +87,58 @@ set runtimepath+=/home/barak/.vim/bundle/repos/github.com/Shougo/dein.vim " Required: call plug#begin('/home/barak/.vim/bundle') +" Plugins that must be first Plug '/home/barak/.vim/bundle/repos/github.com/Shougo/dein.vim' +Plug 'let-def/vimbufsync' Plug 'lambdalisue/suda.vim' + +" Plugins that I almost never use Plug 'vim-scripts/DrawIt' Plug 'tpope/vim-speeddating' Plug 'vim-scripts/EasyGrep' Plug 'chrisbra/NrrwRgn' -Plug 'hsitz/VimOrganizer' Plug 'mattn/calendar-vim' -Plug 'sjbach/lusty' -Plug 'scrooloose/nerdcommenter' -"Plug 'scrooloose/nerdtree' Plug 'rstacruz/sparkup' -"Plug 'scrooloose/syntastic' -Plug 'w0rp/ale' -Plug 'tpope/vim-fugitive' -Plug 'airblade/vim-gitgutter' -Plug 'lunaru/vim-less' -"Plug 'terryma/vim-multiple-cursors' -Plug 'tpope/vim-unimpaired' -"Plug 'Valloric/YouCompleteMe' -Plug 'Shougo/deoplete.nvim' -Plug 'zchee/deoplete-clang' -Plug 'zchee/deoplete-go', {'build': {'unix': 'make'}} -Plug 'zchee/deoplete-jedi' -Plug 'davidhalter/jedi-vim' -Plug 'b4winckler/vim-angry' Plug 'tristen/vim-sparkup' +Plug 'tpope/vim-fireplace', {'for': 'clojure'} +"Plug 'terryma/vim-multiple-cursors' +Plug 'ambv/black' +Plug 'kana/vim-textobj-user' + +" Plugins I wish I used more +Plug 'hsitz/VimOrganizer' +Plug 'tpope/vim-fugitive' +Plug 'tpope/vim-unimpaired' +Plug 'b4winckler/vim-angry' +Plug 'tpope/vim-surround' +Plug 'junegunn/vim-easy-align' +Plug 'bps/vim-textobj-python' + +" Plugins I NEED +Plug 'scrooloose/nerdcommenter' +Plug 'sjbach/lusty' +Plug 'w0rp/ale' +Plug 'airblade/vim-gitgutter' Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline-themes' -"Plug 'kien/ctrlp.vim' Plug 'junegunn/fzf' Plug 'junegunn/fzf.vim' Plug 'bling/vim-bufferline' Plug 'majutsushi/tagbar' -Plug 'eagletmt/neco-ghc', {'for': 'haskell'} -Plug 'eagletmt/ghcmod-vim', {'for': 'haskell'} -Plug 'Shougo/vimproc.vim' -Plug 'Shougo/vimfiler.vim' -Plug 'Shougo/unite.vim' Plug 'SirVer/ultisnips' Plug 'honza/vim-snippets' -Plug 'tpope/vim-surround' -"Plug 'farseer90718/vim-taskwarrior' Plug 'fatih/vim-go' -"Plug 't-yuki/vim-go-coverlay' -Plug 'tpope/vim-abolish' -Plug 'hylang/vim-hy', {'for': 'hy'} Plug 'jiangmiao/auto-pairs' -Plug 'racer-rust/vim-racer', {'for': 'rust'} -Plug 'let-def/vimbufsync' -"Plug 'lucas8/coquille', {'branch': 'error_on_coq_error', 'for': 'coq'} -Plug 'whonore/coquille', {'branch': 'pathogen-bundle', 'for': 'coq'} - -Plug 'mhartington/nvim-typescript' -Plug 'posva/vim-vue' -Plug 'Shougo/context_filetype.vim' - +Plug 'tpope/vim-abolish' Plug 'sheerun/vim-polyglot' Plug 'Shougo/denite.nvim' Plug 'plytophogy/vim-virtualenv' + + +" Plugins I NEEDED +"Plug 'scrooloose/nerdtree' +"Plug 'scrooloose/syntastic' +"Plug 'Valloric/YouCompleteMe' "Plug 'vim-scripts/fish-syntax' "Plug 'kchmck/vim-coffee-script' "Plug 'rodjek/vim-puppet' @@ -154,24 +146,48 @@ Plug 'plytophogy/vim-virtualenv' "Plug 'rust-lang/rust.vim' "Plug 'hashivim/vim-terraform' "Plug 'HerringtonDarkholme/yats.vim' -Plug 'tpope/vim-fireplace' -Plug 'junegunn/vim-easy-align' +"Plug 'kien/ctrlp.vim' +"Plug 'farseer90718/vim-taskwarrior' +"Plug 't-yuki/vim-go-coverlay' + +" Plugins for syntax +Plug 'lunaru/vim-less' +Plug 'hylang/vim-hy', {'for': 'hy'} +Plug 'mhartington/nvim-typescript' +Plug 'posva/vim-vue' +Plug 'Shougo/context_filetype.vim' Plug 'idris-hackers/idris-vim', {'for': 'idris'} +Plug 'derekwyatt/vim-scala', {'for': 'scala'} + +" Plugins that autocomplete +Plug 'Shougo/deoplete.nvim' +Plug 'zchee/deoplete-clang' +Plug 'zchee/deoplete-go', {'build': {'unix': 'make'}} +Plug 'zchee/deoplete-jedi' +Plug 'davidhalter/jedi-vim' +Plug 'eagletmt/neco-ghc', {'for': 'haskell'} +Plug 'eagletmt/ghcmod-vim', {'for': 'haskell'} +Plug 'racer-rust/vim-racer', {'for': 'rust'} Plug 'autozimu/LanguageClient-neovim', { \ 'branch': 'next', \ 'do': 'bash install.sh', \ } +"Plug 'ensime/ensime-vim', { 'do': ':UpdateRemotePlugins' } -Plug 'ambv/black' -Plug 'kana/vim-textobj-user' -Plug 'bps/vim-textobj-python' -Plug 'dhruvasagar/vim-zoom' - -Plug 'derekwyatt/vim-scala', {'for': 'scala'} -Plug 'ensime/ensime-vim', { 'do': ':UpdateRemotePlugins' } +" Plugins that do specific things +Plug 'Shougo/vimproc.vim' +Plug 'Shougo/vimfiler.vim' +Plug 'Shougo/unite.vim' +"Plug 'lucas8/coquille', {'branch': 'error_on_coq_error', 'for': 'coq'} +Plug 'whonore/coquille', {'branch': 'pathogen-bundle', 'for': 'coq'} +"Plug 'dhruvasagar/vim-zoom' Plug 'gabrielelana/vim-markdown' Plug 'lervag/vimtex' + +" Unclear +Plug 'ncm2/float-preview.nvim' + call plug#end() @@ -248,7 +264,8 @@ let g:Tb_MapCTabSwitchBufs = 1 let g:UseGooglePythonSettings = 0 " * Jedi -let g:jedi#goto_command="gd" +let g:jedi#goto_command = "gd" +"let g:jedi#completions_enabled = 0 " * Eclim let g:EclimCompletionMethod = 'omnifunc' @@ -751,3 +768,8 @@ command Comments lexpr system('/home/barak/src/gogh/src/github.com/barakmich/gog "call remote#host#RegisterPlugin('python3', '/home/barak/.vim/bundle/deoplete.nvim/rplugin/python3/deoplete', [ "\ {'sync': v:true, 'name': '_deoplete', 'type': 'function', 'opts': {}}, "\ ]) +" +if !empty($VIRTUAL_ENV) +" let g:python_host_prog = $VIRTUAL_ENV . '/bin/python' +" let g:python3_host_prog = $VIRUTAL_ENV . '3/bin/python' +endif