Added Yaifa and TagBar, Removed TagList
This commit is contained in:
9
.gitmodules
vendored
9
.gitmodules
vendored
@@ -10,9 +10,6 @@
|
|||||||
[submodule "vim/bundle/supertab"]
|
[submodule "vim/bundle/supertab"]
|
||||||
path = vim/bundle/supertab
|
path = vim/bundle/supertab
|
||||||
url = https://github.com/ervandew/supertab.git
|
url = https://github.com/ervandew/supertab.git
|
||||||
[submodule "vim/bundle/taglist"]
|
|
||||||
path = vim/bundle/taglist
|
|
||||||
url = https://github.com/vim-scripts/taglist.vim.git
|
|
||||||
[submodule "vim/bundle/lightline"]
|
[submodule "vim/bundle/lightline"]
|
||||||
path = vim/bundle/lightline
|
path = vim/bundle/lightline
|
||||||
url = https://github.com/itchyny/lightline.vim.git
|
url = https://github.com/itchyny/lightline.vim.git
|
||||||
@@ -40,3 +37,9 @@
|
|||||||
[submodule "vim/bundle/YouCompleteMe"]
|
[submodule "vim/bundle/YouCompleteMe"]
|
||||||
path = vim/bundle/YouCompleteMe
|
path = vim/bundle/YouCompleteMe
|
||||||
url = https://github.com/ycm-core/YouCompleteMe.git
|
url = https://github.com/ycm-core/YouCompleteMe.git
|
||||||
|
[submodule "vim/bundle/tagbar"]
|
||||||
|
path = vim/bundle/tagbar
|
||||||
|
url = https://github.com/preservim/tagbar.git
|
||||||
|
[submodule "vim/bundle/yaifa"]
|
||||||
|
path = vim/bundle/yaifa
|
||||||
|
url = https://github.com/vim-scripts/yaifa.vim.git
|
||||||
|
|||||||
1
vim/bundle/tagbar
Submodule
1
vim/bundle/tagbar
Submodule
Submodule vim/bundle/tagbar added at 12edcb5944
Submodule vim/bundle/taglist deleted from 53041fbc45
1
vim/bundle/yaifa
Submodule
1
vim/bundle/yaifa
Submodule
Submodule vim/bundle/yaifa added at ab87aa42cb
19
vimrc
19
vimrc
@@ -56,17 +56,11 @@ nnoremap <leader>n :NERDTreeFocus<CR>
|
|||||||
nnoremap <C-n> :NERDTreeToggle<CR>
|
nnoremap <C-n> :NERDTreeToggle<CR>
|
||||||
nnoremap <C-f> :NERDTreeFind<CR>
|
nnoremap <C-f> :NERDTreeFind<CR>
|
||||||
|
|
||||||
"""" Taglist
|
"""" Tagbar
|
||||||
set tags=./tags; " Recursively search backwards for ctags file
|
set tags=./tags; " Recursively search backwards for ctags file
|
||||||
" CTRL-l to open taglist
|
set tagbsearch " Use binary search in tags file (assumes sorted)
|
||||||
nnoremap <C-l> :TlistToggle<CR>
|
set tagcase=match " Match case when searching tags (much faster)
|
||||||
" CTRL-p to show function name in status bar
|
nnoremap <C-l> :TagbarToggle<CR>
|
||||||
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'
|
|
||||||
|
|
||||||
"""" vim-rainbow
|
"""" vim-rainbow
|
||||||
let g:rainbow_active = 1
|
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_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_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
|
"" Show compilation errors
|
||||||
"nnoremap <silent> <C-y> :YcmDiags<CR>
|
"nnoremap <silent> <C-y> :YcmDiags<CR>
|
||||||
"" Toggle documentation popup (\D)
|
"" Toggle documentation popup (\D)
|
||||||
|
|||||||
Reference in New Issue
Block a user