Added tagbar and stopped vim opening new split when autocompleting

This commit is contained in:
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

Submodule vim/bundle/tagbar added at 9ee516ee6f

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