.vimrc

changeset 793
20281f6e1c00
parent 787
fc7e6eaf6a91
child 794
152f0c95cbb0
equal deleted inserted replaced
792:2693c3ccb0da 793:20281f6e1c00
69 nnoremap <silent> <F5> :GundoToggle<CR> 69 nnoremap <silent> <F5> :GundoToggle<CR>
70 nnoremap <silent> <F8> :TagbarToggle<CR> 70 nnoremap <silent> <F8> :TagbarToggle<CR>
71 71
72 nnoremap <leader>ub :Unite buffer<CR> 72 nnoremap <leader>ub :Unite buffer<CR>
73 nnoremap <leader>us :Unite session<CR> 73 nnoremap <leader>us :Unite session<CR>
74 nnoremap <leader>uf :Unite -start-insert file_rec/async:!<CR>
75 74
76 " let F4, :noh work as-is in insert mode 75 " let F4, :noh work as-is in insert mode
77 imap <F4> <C-O><F4> 76 imap <F4> <C-O><F4>
78 77
79 " chdir to the directory of the open buffer 78 " chdir to the directory of the open buffer
414 endtry 413 endtry
415 414
416 " like autowrite, applies to any loaded session 415 " like autowrite, applies to any loaded session
417 let g:unite_source_session_enable_auto_save = 1 416 let g:unite_source_session_enable_auto_save = 1
418 417
419 if executable('ag')
420 let g:unite_source_rec_async_command = ['ag', '-f', '--nocolor', '--nogroup', '-g', '']
421 endif
422
423 ">> vimfiler 418 ">> vimfiler
424 let g:vimfiler_as_default_explorer = 1 419 let g:vimfiler_as_default_explorer = 1
425 420
426 ">> Airline 421 ">> Airline
427 let g:airline#extensions#whitespace#enabled = 0 422 let g:airline#extensions#whitespace#enabled = 0

mercurial