Added Yaifa and TagBar, Removed TagList
This commit is contained in:
19
vimrc
19
vimrc
@@ -56,17 +56,11 @@ nnoremap <leader>n :NERDTreeFocus<CR>
|
||||
nnoremap <C-n> :NERDTreeToggle<CR>
|
||||
nnoremap <C-f> :NERDTreeFind<CR>
|
||||
|
||||
"""" Taglist
|
||||
set tags=./tags; " Recursively search backwards for ctags file
|
||||
" CTRL-l to open taglist
|
||||
nnoremap <C-l> :TlistToggle<CR>
|
||||
" CTRL-p to show function name in status bar
|
||||
nnoremap <C-p> :TlistShowPrototype<CR>
|
||||
let Tlist_Use_Right_Window = 1 " Move window to right side
|
||||
let Tlist_Exit_OnlyWindow = 1 " Close if only window left
|
||||
let Tlist_Hightlight_Tag_On_BufEnter = 1 " Hightlight current tag
|
||||
let Tlist_Display_Prototypte = 1 " Show full prototype at bottom
|
||||
let Tlist_Ctags_Cmd = 'ctags --extra=-q --c++-kinds=-p'
|
||||
"""" Tagbar
|
||||
set tags=./tags; " Recursively search backwards for ctags file
|
||||
set tagbsearch " Use binary search in tags file (assumes sorted)
|
||||
set tagcase=match " Match case when searching tags (much faster)
|
||||
nnoremap <C-l> :TagbarToggle<CR>
|
||||
|
||||
"""" vim-rainbow
|
||||
let g:rainbow_active = 1
|
||||
@@ -148,6 +142,9 @@ nnoremap <C-y> :SyntasticToggleMode<CR>
|
||||
"let g:ycm_echo_current_diagnostic = 1 " Echo line's diagnostic that cursor is on
|
||||
"let g:ycm_min_num_of_chars_for_completion = 4 " Wait for 4 characters before completion
|
||||
"
|
||||
"let g:ycm_confirm_extra_conf = 0
|
||||
"" \y to apply FixIt command
|
||||
"nnoremap <leader>y :YcmCompleter FixIt<CR>
|
||||
"" Show compilation errors
|
||||
"nnoremap <silent> <C-y> :YcmDiags<CR>
|
||||
"" Toggle documentation popup (\D)
|
||||
|
||||
Reference in New Issue
Block a user