Compare commits
2 Commits
ae70101eba
...
5a6d64d401
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5a6d64d401 | ||
|
|
056df5ec19 |
12
.gitmodules
vendored
12
.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
|
||||||
@@ -37,6 +34,9 @@
|
|||||||
[submodule "vim/bundle/vim-bufferline"]
|
[submodule "vim/bundle/vim-bufferline"]
|
||||||
path = vim/bundle/vim-bufferline
|
path = vim/bundle/vim-bufferline
|
||||||
url = https://github.com/bling/vim-bufferline
|
url = https://github.com/bling/vim-bufferline
|
||||||
[submodule "vim/bundle/YouCompleteMe"]
|
[submodule "vim/bundle/tagbar"]
|
||||||
path = vim/bundle/YouCompleteMe
|
path = vim/bundle/tagbar
|
||||||
url = https://github.com/ycm-core/YouCompleteMe.git
|
url = https://github.com/preservim/tagbar.git
|
||||||
|
[submodule "vim/bundle/yaifa"]
|
||||||
|
path = vim/bundle/yaifa
|
||||||
|
url = https://github.com/vim-scripts/yaifa.vim.git
|
||||||
|
|||||||
3
setup.sh
3
setup.sh
@@ -33,5 +33,6 @@ echo ""
|
|||||||
echo "NOTE: If you wand to use YCM, you need to do the following:"
|
echo "NOTE: If you wand to use YCM, you need to do the following:"
|
||||||
echo " - Install python3-dev"
|
echo " - Install python3-dev"
|
||||||
echo " - Install either vim-nox or build vim from source with python3 enabled"
|
echo " - Install either vim-nox or build vim from source with python3 enabled"
|
||||||
echo " - cd ~/.vim/bundle/YouCompleteMe && python3 install.py --clangd-completer"
|
echo " - Download and install YCM: https://github.com/ycm-core/YouCompleteMe.git"
|
||||||
|
echo " - cd ./YouCompleteMe && python3 install.py --clangd-completer"
|
||||||
echo " - Remove comment markers under OPTION B in your .vimrc"
|
echo " - Remove comment markers under OPTION B in your .vimrc"
|
||||||
|
|||||||
Submodule vim/bundle/YouCompleteMe deleted from 4f1dcf4f97
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
17
vimrc
17
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