.vimrc

branch
mhoward-lt
changeset 117
10e0152bacce
parent 115
6d6751c819ad
child 118
ffbf97e1e3eb
equal deleted inserted replaced
113:6fb9403f0c80 117:10e0152bacce
19 let vundle_readme=expand('~/vimfiles/bundle/vundle/README.md') 19 let vundle_readme=expand('~/vimfiles/bundle/vundle/README.md')
20 endif 20 endif
21 21
22 if !filereadable(vundle_readme) 22 if !filereadable(vundle_readme)
23 if !executable('git') 23 if !executable('git')
24 echo "You probably want git installed and in PATH" 24 echo "You probably want git installed and in PATH."
25 echo " http://chocolatey.org "
25 quit 26 quit
26 endif 27 endif
27 28
28 let installed_vundle=1 29 let installed_vundle=1
29 if on_windows == 0 30 if on_windows == 0
66 Plugin 'tpope/vim-unimpaired' 67 Plugin 'tpope/vim-unimpaired'
67 Plugin 'tpope/vim-endwise' 68 Plugin 'tpope/vim-endwise'
68 69
69 Plugin 'Shougo/neocomplcache.vim' 70 Plugin 'Shougo/neocomplcache.vim'
70 Plugin 'c9s/perlomni.vim' 71 Plugin 'c9s/perlomni.vim'
72 Plugin 'rking/ag.vim'
71 73
72 Plugin 'tpope/vim-fugitive' 74 Plugin 'tpope/vim-fugitive'
73 Plugin 'ludovicchabant/vim-lawrencium' 75 Plugin 'ludovicchabant/vim-lawrencium'
74 Plugin 'mhinz/vim-signify' 76 Plugin 'mhinz/vim-signify'
75 77
76 Plugin 'danchoi/ri.vim' 78 Plugin 'danchoi/ri.vim'
77 Plugin 'vim-ruby/vim-ruby' 79 Plugin 'vim-ruby/vim-ruby'
78 Plugin 'vim-perl/vim-perl' 80 Plugin 'vim-perl/vim-perl'
81
79 82
80 if installed_vundle == 1 83 if installed_vundle == 1
81 echo "Installing Plugins, please ignore key map error messages" 84 echo "Installing Plugins, please ignore key map error messages"
82 echo "" 85 echo ""
83 :PluginInstall 86 :PluginInstall
163 set wildignore+=*/.git/*,*/.hg/*,*/.svn/*,*/.DS_Store 166 set wildignore+=*/.git/*,*/.hg/*,*/.svn/*,*/.DS_Store
164 else 167 else
165 set wildignore+=.git\*,.hg\*,.svn\* 168 set wildignore+=.git\*,.hg\*,.svn\*
166 endif 169 endif
167 170
171 " Enable enhanced % matching in ruby
172 runtime macros/matchit.vim
173
168 " Don't assume to scan includes when autocompleting 174 " Don't assume to scan includes when autocompleting
169 set cpt-=i 175 set cpt-=i
170 176
171 " Never open with folds collapsed 177 " Never open with folds collapsed
172 set nofoldenable 178 set nofoldenable
277 let g:gundo_prefer_python3=1 283 let g:gundo_prefer_python3=1
278 endif 284 endif
279 285
280 ">> Tagbar 286 ">> Tagbar
281 if on_windows == 1 287 if on_windows == 1
282 let g:tagbar_ctags_bin = 'C:\Users\mhoward\bin\ctags.exe' 288 if executable('ctags') == 0
289 " if i haven't installed from chocolatey...
290 let g:tagbar_ctags_bin = 'C:\Users\mhoward\bin\ctags.exe'
291 endif
283 endif 292 endif
284 293
285 let g:tagbar_autoclose = 1 294 let g:tagbar_autoclose = 1
286 let g:tagbar_autofocus = 1 295 let g:tagbar_autofocus = 1
287 let g:tagbar_compact = 1 296 let g:tagbar_compact = 1

mercurial