.vimrc

branch
mhoward-lt
changeset 140
29b215bf23e0
parent 139
2464de2899b3
child 142
d0d2b54e855f
equal deleted inserted replaced
137:e34eb9b7a8a3 140:29b215bf23e0
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 if on_windows == 1
26 echo " http://chocolatey.org "
27 endif
26 quit 28 quit
27 endif 29 endif
28 30
29 let installed_vundle=1 31 let installed_vundle=1
30 if on_windows == 0 32 if on_windows == 0
277 endfunction 279 endfunction
278 280
279 " perl fold scanning is slow 281 " perl fold scanning is slow
280 "let perl_fold = 1 282 "let perl_fold = 1
281 let perl_include_pod = 1 283 let perl_include_pod = 1
284 " workaround for experimental signatures
282 let perl_no_subprototype_error = 1 285 let perl_no_subprototype_error = 1
283 286
284 " }}} 287 " }}}
285 288
286 289
287 " Plugin settings {{{ 290 " Plugin settings {{{
291
288 ">> Gundo 292 ">> Gundo
289 " I prefer python3 on windows if I have to use it. 293 " I prefer python3 on windows if I have to use it. Needs a dll in path.
290 if on_windows == 1 294 if on_windows == 1
291 let g:gundo_prefer_python3=1 295 let g:gundo_prefer_python3=1
292 endif 296 endif
297
293 298
294 ">> Tagbar 299 ">> Tagbar
295 if on_windows == 1 300 if on_windows == 1
296 if executable('ctags') == 0 301 if executable('ctags') == 0
297 " if i haven't installed from chocolatey... 302 " if i haven't installed from chocolatey...
327 let g:unite_source_grep_command = 'ag' 332 let g:unite_source_grep_command = 'ag'
328 let g:unite_source_grep_default_opts = '--nogroup --nocolor --column' 333 let g:unite_source_grep_default_opts = '--nogroup --nocolor --column'
329 let g:unite_source_grep_recursive_opt = '' 334 let g:unite_source_grep_recursive_opt = ''
330 endif 335 endif
331 336
337
332 ">> vimfiler 338 ">> vimfiler
333 let g:vimfiler_as_default_explorer = 1 339 let g:vimfiler_as_default_explorer = 1
340 " double-click to edit
334 autocmd FileType vimfiler nmap <buffer> <2-LeftMouse> <Plug>(vimfiler_edit_file) 341 autocmd FileType vimfiler nmap <buffer> <2-LeftMouse> <Plug>(vimfiler_edit_file)
342
335 343
336 ">> Airline 344 ">> Airline
337 let g:airline#extensions#whitespace#enabled = 0 345 let g:airline#extensions#whitespace#enabled = 0
338 346
339 "keep bufferline from writing into the command line 347 "keep bufferline from writing into the command line
340 let g:bufferline_echo = 0 348 let g:bufferline_echo = 0
349
341 350
342 ">> Signify 351 ">> Signify
343 let g:signify_disable_by_default = 1 352 let g:signify_disable_by_default = 1
344 let g:signify_vcs_list = [ 'git', 'hg' ] 353 let g:signify_vcs_list = [ 'git', 'hg' ]
345 354
346 let g:signify_mapping_next_hunk = '<leader>gj' 355 let g:signify_mapping_next_hunk = '<leader>gj'
347 let g:signify_mapping_prev_hunk = '<leader>gk' 356 let g:signify_mapping_prev_hunk = '<leader>gk'
348 let g:signify_mapping_toggle = '<leader>gt' 357 let g:signify_mapping_toggle = '<leader>gt'
358
349 359
350 ">> neocomplcache 360 ">> neocomplcache
351 " Disable AutoComplPop. 361 " Disable AutoComplPop.
352 let g:acp_enableAtStartup = 0 362 let g:acp_enableAtStartup = 0
353 363

mercurial