.vimrc

changeset 810
de41d00d8344
parent 809
ff296d6c550f
child 811
abdb905668f5
equal deleted inserted replaced
809:ff296d6c550f 810:de41d00d8344
25 Plug 'editorconfig/editorconfig-vim' 25 Plug 'editorconfig/editorconfig-vim'
26 26
27 Plug 'Shougo/vimproc.vim' 27 Plug 'Shougo/vimproc.vim'
28 Plug 'Shougo/unite.vim' 28 Plug 'Shougo/unite.vim'
29 Plug 'Shougo/vimfiler.vim' 29 Plug 'Shougo/vimfiler.vim'
30 Plug 'sjl/gundo.vim', {'on': 'GundoToggle'} 30 Plug 'mbbill/undotree', {'on': 'UndotreeToggle'}
31 Plug 'majutsushi/tagbar', {'on': 'TagbarToggle'} 31 Plug 'majutsushi/tagbar', {'on': 'TagbarToggle'}
32 32
33 Plug 'godlygeek/tabular' 33 Plug 'godlygeek/tabular'
34 Plug 'tomtom/tcomment_vim' 34 Plug 'tomtom/tcomment_vim'
35 Plug 'tpope/vim-unimpaired' 35 Plug 'tpope/vim-unimpaired'
62 " }}} 62 " }}}
63 63
64 " Key maps {{{ 64 " Key maps {{{
65 nnoremap <silent> <F2> :VimFilerExplorer<CR> 65 nnoremap <silent> <F2> :VimFilerExplorer<CR>
66 noremap <silent> <F4> :set hls!<CR> 66 noremap <silent> <F4> :set hls!<CR>
67 nnoremap <silent> <F5> :GundoToggle<CR> 67 nnoremap <silent> <F5> :UndotreeToggle<CR>
68 nnoremap <silent> <F8> :TagbarToggle<CR> 68 nnoremap <silent> <F8> :TagbarToggle<CR>
69 69
70 nnoremap <leader>ub :Unite buffer<CR> 70 nnoremap <leader>ub :Unite buffer<CR>
71 71
72 " let F4, :noh work as-is in insert mode 72 " let F4, :noh work as-is in insert mode
371 371
372 ">> Viewdoc 372 ">> Viewdoc
373 let g:viewdoc_open = 'topleft new' 373 let g:viewdoc_open = 'topleft new'
374 let g:viewdoc_winwidth_max = 100 374 let g:viewdoc_winwidth_max = 100
375 375
376 ">> Gundo 376 ">> Undotree
377 let g:gundo_prefer_python3 = 1 377 let g:undotree_SplitWidth = 45
378 let g:undotree_SetFocusWhenToggle = 1
379 let g:undotree_ShortIndicators = 1
380 let g:undotree_DiffCommand = "diff -dp -U 1"
378 381
379 ">> Tagbar 382 ">> Tagbar
380 let g:tagbar_autoclose = 1 383 let g:tagbar_autoclose = 1
381 let g:tagbar_autofocus = 1 384 let g:tagbar_autofocus = 1
382 let g:tagbar_compact = 1 385 let g:tagbar_compact = 1

mercurial