]> git.rmz.io Git - dotfiles.git/commitdiff
vim: disable some unused plugins
authorSamir Benmendil <me@rmz.io>
Thu, 4 May 2023 00:28:55 +0000 (01:28 +0100)
committerSamir Benmendil <me@rmz.io>
Sun, 17 Dec 2023 17:23:07 +0000 (17:23 +0000)
Should probably delete them at some point, but not while I'm doing
widespreading changes.

vim/vimrc

index c1dc477536740dcf210c704017ecbc874d30da0e..7e493fcd1ba16414f60b090c9ff498880c2da85d 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -215,7 +215,14 @@ Plug 'firef0x/pkgbuild.vim'
 Plug 'junegunn/vim-easy-align'
 Plug 'klen/python-mode'
 Plug 'kshenoy/vim-signature'
-Plug 'majutsushi/tagbar'
+" Plug 'majutsushi/tagbar' " TODO: delete? {{{2
+"   map <F5> :TagbarToggle<cr>
+"   let g:tagbar_sort = 0
+"   let g:tagbar_compact = 1
+"   let g:tagbar_autoshowtag = 1
+"   let g:tagbar_width = 25
+"   let g:tagbar_iconchars = ['+', '-']
+"}}}
 Plug 'octol/vim-cpp-enhanced-highlight'
 Plug 'sgeb/vim-diff-fold'
 Plug 'skywind3000/asyncrun.vim' " {{{2
@@ -223,10 +230,10 @@ command! -bang -nargs=* -complete=file Make AsyncRun -save=2 -program=make @ <ar
 let g:asyncrun_open = 10
 "}}}
 Plug 'sjl/gundo.vim'
-Plug 'thinca/vim-qfreplace'
+" Plug 'thinca/vim-qfreplace' " TODO: delete?
 Plug 'tpope/vim-abolish'
 Plug 'tpope/vim-characterize'
-Plug 'tpope/vim-endwise'
+" Plug 'tpope/vim-endwise' " TODO: delete?
 Plug 'tpope/vim-eunuch'
 Plug 'tpope/vim-fugitive'
 Plug 'tpope/vim-repeat'
@@ -234,8 +241,8 @@ Plug 'tpope/vim-scriptease'
 Plug 'tpope/vim-speeddating'
 Plug 'tpope/vim-unimpaired'
 Plug 'tweekmonster/spellrotate.vim'
-Plug 'vim-scripts/mediawiki.vim'
-Plug 'vim-scripts/replacewithregister'
+" Plug 'vim-scripts/mediawiki.vim' " TODO: delete?
+Plug 'vim-scripts/replacewithregister' " FIXME: is overridden by lsp
 Plug 'wincent/loupe'
 
 " text objects
@@ -252,16 +259,16 @@ Plug 'ilyachur/cmake4vim'
 Plug 'ilyachur/gtest-vim'
 
 Plug 'junegunn/vim-peekaboo' "{{{2
-" issue with having it at the bottom is that it doesn't leave much 
-let g:peekaboo_window = 'bo 16new'
-let g:peekaboo_compact = 1
-let g:peekaboo_delay = 500
+  " issue with having it at the bottom is that it doesn't leave much 
+  let g:peekaboo_window = 'bo 16new'
+  let g:peekaboo_compact = 1
+  let g:peekaboo_delay = 500
 "}}}
 
-Plug 'vim-scripts/ansiesc.vim' "{{{2
-nmap corwp <Plug>RestoreWinPosn
-nmap coswp <Plug>SaveWinPosn
-"}}}
+" Plug 'vim-scripts/ansiesc.vim' " TODO: delete? {{{2
+"   nmap corwp <Plug>RestoreWinPosn
+"   nmap coswp <Plug>SaveWinPosn
+" "}}}
 
 Plug 'neovimhaskell/haskell-vim'  " {{{2
 let g:haskell_enable_quantification = 1   " to enable highlighting of `forall`
@@ -282,10 +289,10 @@ Plug 'mtth/scratch.vim'  " {{{2
   let g:scratch_autohide = 0
 "}}}
 
-Plug 'jenterkin/vim-autosource'  " {{{2
-  let g:autosource_hashdir = $XDG_CACHE_HOME . '/vim/vim-autosource'
-  let g:autosource_conf_names = ['.vimrc', '.vimrc.lua']
-"}}}
+" Plug 'jenterkin/vim-autosource'  " TODO: delete? {{{2
+  let g:autosource_hashdir = $XDG_CACHE_HOME . '/vim/vim-autosource'
+  let g:autosource_conf_names = ['.vimrc', '.vimrc.lua']
+" "}}}
 
 call plug#end()
 
@@ -867,13 +874,6 @@ if ! &diff
   let g:syntastic_check_on_open=1
 endif
 
-" tagbar {{{2
-map <F5> :TagbarToggle<cr>
-let g:tagbar_sort = 0
-let g:tagbar_compact = 1
-let g:tagbar_autoshowtag = 1
-let g:tagbar_width = 25
-let g:tagbar_iconchars = ['+', '-']
 
 " vim-easy-align {{{2
 " start interactive EasyAlign in visual mode