Added tagbar and stopped vim opening new split when autocompleting

This commit is contained in:
Dreaded_X 2014-09-05 19:50:55 +02:00
parent f82403d31d
commit a1861b8148
4 changed files with 17 additions and 0 deletions

3
.gitmodules vendored
View File

@ -16,3 +16,6 @@
[submodule "vim/bundle/YouCompleteMe"]
path = vim/bundle/YouCompleteMe
url = git@github.com:Valloric/YouCompleteMe.git
[submodule "vim/bundle/tagbar"]
path = vim/bundle/tagbar
url = git@github.com:majutsushi/tagbar.git

View File

@ -46,6 +46,16 @@ while true; do
esac
done
while true; do
read -p "Do you wish to install CTags? " yn3
case $yn3 in
[Yy]* ) sudo apt-get install exuberant-ctags
break;;
[Nn]* ) break;;
* ) echo "Please answer yes or no.";;
esac
done
git submodule update --init --recursive

1
vim/bundle/tagbar Submodule

@ -0,0 +1 @@
Subproject commit 9ee516ee6ff5eb4ac21bb0c5a13b1b6d2bd4919f

3
vimrc
View File

@ -13,4 +13,7 @@ nnoremap <silent> <M-k> :TmuxNavigateUp<cr>
nnoremap <silent> <M-l> :TmuxNavigateRight<cr>
map <F2> :NERDTreeToggle<cr>
nmap <F8> :TagbarToggle<CR>
map <F3> \be
setlocal completeopt-=preview