From b942f94eb3b58939c99e1c1547145f41b77e71f4 Mon Sep 17 00:00:00 2001 From: johannst Date: Sun, 19 May 2019 15:19:01 +0200 Subject: vimrc: cleanup of unused plugin --- vimrc | 51 +++++---------------------------------------------- 1 file changed, 5 insertions(+), 46 deletions(-) diff --git a/vimrc b/vimrc index 60e1305..5760e77 100644 --- a/vimrc +++ b/vimrc @@ -12,8 +12,6 @@ endif nnoremap ev :edit ~/.vimrc nnoremap sv :source ~/.vimrc -"let $VIMHOME='~/.vim' - "{{{ Plugin Management " to install plugins open vim and run :PluginInstall from within vim OR @@ -28,11 +26,7 @@ Plugin 'VundleVim/Vundle.vim' Plugin 'jlanzarotta/bufexplorer' Plugin 'ap/vim-buftabline' -"Plugin 'vim-airline/vim-airline' -"Plugin 'vim-airline/vim-airline-themes' Plugin 'majutsushi/tagbar' -"Plugin 'ctrlpvim/ctrlp.vim' -"Plugin 'vim-scripts/OmniCppComplete' Plugin 'vim-scripts/YankRing.vim' Plugin 'johannst/Clever-Tabs' Plugin 'johannst/AsyncCmdProcessor.vim' @@ -40,7 +34,6 @@ Plugin 'w0rp/ale' Plugin 'junegunn/fzf.vim' Plugin 'maralla/completor.vim' Plugin 'chriskempson/base16-vim' -Plugin 'osyo-manga/vim-over' call vundle#end() @@ -71,15 +64,6 @@ if s:IsPluginEnabled('jlanzarotta/bufexplorer') let g:bufExplorerDisableDefaultKeyMapping=1 endif -if s:IsPluginEnabled('vim-airline/vim-airline') - let g:airline#extensions#tabline#enabled = 1 - let g:airline#extensions#tabline#fnamemod = ':t' - let g:airline_powerline_fonts = 1 - if !exists('g:airline_symbols') - let g:airline_symbols = {} - endif -endif - if s:IsPluginEnabled('majutsushi/tagbar') let g:tagbar_ctags_bin=$MYCTAGS if !empty(glob(g:tagbar_ctags_bin)) @@ -97,20 +81,6 @@ if s:IsPluginEnabled('majutsushi/tagbar') endif endif -if s:IsPluginEnabled('ctrlpvim/ctrlp.vim') - let g:ctrlp_buftag_ctags_bin=$MYCTAGS - let g:ctrlp_extensions = ['buffertag'] - let g:ctrlp_working_path_mode = 'a' - let g:ctrlp_use_caching = 1 - let g:ctrlp_clear_cache_on_exit = 1 - let g:ctrlp_cache_dir = $VIMHOME . '/cache/ctrlp' - - nnoremap t :CtrlPBufTagAll - nnoremap f :CtrlPCurWD - "nnoremap f :CtrlPCurFile - nnoremap b :CtrlPBuffer -endif - if s:IsPluginEnabled('vim-scripts/YankRing.vim') let g:yankring_max_history= 15 let g:yankring_persist = 1 @@ -123,26 +93,15 @@ endif if s:IsPluginEnabled('ap/vim-buftabline') let g:buftabline_indicators = 1 -endif - -if s:IsPluginEnabled('vim-scripts/OmniCppComplete') - set tags+=$VIMHOME/tags/cpp_tags - let OmniCpp_NamespaceSearch = 1 - let OmniCpp_GlobalScopeSearch = 1 - let OmniCpp_ShowAccess = 1 - let OmniCpp_ShowPrototypeInAbbr = 1 " show function parameters - let OmniCpp_MayCompleteDot = 1 " autocomplete after . - let OmniCpp_MayCompleteArrow = 1 " autocomplete after -> - let OmniCpp_MayCompleteScope = 1 " autocomplete after :: - let OmniCpp_DefaultNamespaces = ["std", "_GLIBCXX_STD"] - " automatically open and close the popup menu / preview window - autocmd! CursorMovedI,InsertLeave * if pumvisible() == 0|silent! pclose|endif - set completeopt=menuone,menu,longest,preview + hi TabLine ctermbg=235 ctermfg=244 cterm=none + hi TabLineSel ctermbg=208 ctermfg=255 cterm=bold + hi TabLineFill ctermbg=235 ctermfg=0 cterm=NONE + hi BufTabLineActive ctermbg=69 endif if s:IsPluginEnabled('johannst/AsyncCmdProcessor.vim') execute "nnoremap fg :Async find . -type f -exec grep -nHI {} +"repeat('', 6) - execute "vnoremap fg \"fy:Async find . -type f -exec grep -nHI f {} +"repeat('', 6) + execute "vnoremap fg \"fy:Async find . -type f -exec grep -nHI f {} +"repeat('', 6) endif if s:IsPluginEnabled('w0rp/ale') -- cgit v1.2.3