From 1b4677ab012bd7d18cf05ae28745e07d87f9d9a5 Mon Sep 17 00:00:00 2001 From: David Runge Date: Sat, 19 Oct 2019 12:19:02 +0200 Subject: .vimrc: Removing vim addon manager stuff. It's easier to install it via packages or vim's build in plugin support. --- .vimrc | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/.vimrc b/.vimrc index 8b20fbc..9326670 100644 --- a/.vimrc +++ b/.vimrc @@ -100,28 +100,7 @@ set scrolloff=8 "Start scrolling when we're 8 lines away from margins set sidescrolloff=15 set sidescroll=1 -" ================ Vim-Addon-Manager ======================== - -fun! SetupVAM() - let c = get(g:, 'vim_addon_manager', {}) - let g:vim_addon_manager = c - let c.plugin_root_dir = expand('$HOME', 1) . '/.vim/vim-addons' - " most used options you may want to use: - " let c.log_to_buf = 1 - " let c.auto_install = 0 - let &rtp.=(empty(&rtp)?'':',').c.plugin_root_dir.'/vim-addon-manager' - if !isdirectory(c.plugin_root_dir.'/vim-addon-manager/autoload') - execute '!git clone --depth=1 git://github.com/MarcWeber/vim-addon-manager ' - \ shellescape(c.plugin_root_dir.'/vim-addon-manager', 1) - endif - - " This provides the VAMActivate command, you could be passing plugin names, too - call vam#ActivateAddons([], {}) -endfun -call SetupVAM() - " ================ Addons and their settings ======================== -so ~/.vim/addons.vim " addons so ~/.vim/addons-settings.vim " addon settings so ~/.vim/custom-settings.vim " custom settings so ~/.vim/custom-functions.vim " custom functions -- cgit v1.2.3-70-g09d2