comparison vim/vimrc @ 424:d8086f81b9c8

Pathogen config files.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 27 Mar 2018 21:34:25 -0700
parents e6b3048980c4
children 67f14a8c2304
comparison
equal deleted inserted replaced
423:f2b1eae0432b 424:d8086f81b9c8
41 syntax off 41 syntax off
42 filetype off 42 filetype off
43 43
44 " Disable some plugins. 44 " Disable some plugins.
45 let g:pathogen_disabled = get(g:, 'pathogen_disabled', []) 45 let g:pathogen_disabled = get(g:, 'pathogen_disabled', [])
46 call add(g:pathogen_disabled, 'vimroom') 46 call ludo#setup_pathogen([s:vim_home.'/bundle', s:vim_home.'/local'])
47 call add(g:pathogen_disabled, 'minibufexpl')
48 call add(g:pathogen_disabled, 'ragtag')
49 call add(g:pathogen_disabled, 'interestingwords')
50 47
51 " Load pathogen. 48 " Load pathogen.
52 runtime bundle/pathogen/autoload/pathogen.vim 49 runtime bundle/pathogen/autoload/pathogen.vim
53 " Add the bundle directory, and potentially add the local one if it exists. 50 " Add the bundle directory, and potentially add the local one if it exists.
54 " Note that we pass absolute paths to make pathogen prepend stuff before Vim's 51 " Note that we pass absolute paths to make pathogen prepend stuff before Vim's
701 nnoremap <silent> <F8> :CtrlPBookmarkDir<cr> 698 nnoremap <silent> <F8> :CtrlPBookmarkDir<cr>
702 endif 699 endif
703 700
704 " FZF mappings. 701 " FZF mappings.
705 if s:HasPlugin('fzf') 702 if s:HasPlugin('fzf')
706 nnoremap <silent> <C-p> :Files 703 nnoremap <silent> <C-p> :Files<cr>
707 nnoremap <silent> <C-o> :Buffers 704 nnoremap <silent> <C-o> :Buffers<cr>
705 nnoremap <Tab> :History<cr>
708 endif 706 endif
709 707
710 " }}} 708 " }}}
711 709
712 " Folding {{{ 710 " Folding {{{