From db4be2feaf3feca330b8d887dd0a12fd59293cfe Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Mon, 23 Sep 2019 04:54:33 +0200 Subject: [PATCH] [UPDATE][VIM] Remove tag management plugins I have never used `gutentags` or `gutentags_plus`, mostly because the only project that I have done that could have benefited from it (the Tiger Compiler) did not play well with `universal-ctags`. --- vim/.vimrc | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/vim/.vimrc b/vim/.vimrc index a171b55..85d44da 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -84,10 +84,6 @@ Plug 'vim-pandoc/vim-pandoc' Plug 'tpope/vim-git' " An awesome git wrapper Plug 'tpope/vim-fugitive' -" Tag management -Plug 'ludovicchabant/vim-gutentags' -" Handling multiple cscopes for gutentags -Plug 'skywind3000/gutentags_plus' " Fuzzy file finder (installs zfz system-wide) Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } " Pre-written functions for fzf mappings @@ -186,20 +182,6 @@ let g:better_whitespace_enabled=1 let g:strip_whitespace_on_save=1 " }}} -" GutenTags settings {{{ -"""""""""""""""""""" -" Enable gutentags -let g:gutentags_enabled=1 -" enable gtags module -let g:gutentags_modules=['ctags', 'gtags_cscope'] -" config project root markers. -let g:gutentags_project_root=['.root', 'Makefile'] -" generate datebases in my cache directory, prevent gtags files polluting my project -let g:gutentags_cache_dir=expand('~/.cache/tags') -" forbid gutentags adding gtags databases -let g:gutentags_auto_add_gtags_cscope=0 -" }}} - " Theme settings {{{ """""""""""""""" " Use a slightly darker background color to differentiate with the status line @@ -303,12 +285,6 @@ nnoremap gm :Gmerge " }}} " }}} -" Status line {{{ -""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" -" Show ctags and cscopes generation in status line -set statusline+=%{gutentags#statusline()} -" }}} - " Import settings when inside a git repository {{{ """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" let git_settings=system("git config --get vim.settings")