From d284a3b98928430d0e76cd55af558c92a2062f65 Mon Sep 17 00:00:00 2001 From: Loic Nageleisen Date: Tue, 14 Oct 2014 15:19:13 +0200 Subject: [PATCH] supertab autocompletion --- bundles.vim | 3 ++- vimrc | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bundles.vim b/bundles.vim index ddb8010..2c22b82 100644 --- a/bundles.vim +++ b/bundles.vim @@ -25,7 +25,8 @@ Bundle 'kien/ctrlp.vim' "Bundle 'Lokaltog/vim-powerline' Bundle 'bling/vim-airline' Bundle 'scrooloose/nerdtree' -"Bundle 'ervandew/supertab' +Bundle 'ervandew/supertab' +"Bundle 'Valloric/YouCompleteMe' Bundle 'scrooloose/syntastic' "Bundle 'majutsushi/tagbar' "Bundle 'airblade/vim-gitgutter' diff --git a/vimrc b/vimrc index 8f7bcf5..6fcedb4 100644 --- a/vimrc +++ b/vimrc @@ -171,6 +171,10 @@ nnoremap a :Ag "SuperTab options let g:SuperTabDefaultCompletionType = "context" +" Complete options (disable preview scratch window) +set completeopt=menu,menuone,longest +" Limit popup menu height +set pumheight=15 "OmniComplete let g:rubycomplete_buffer_loading = 1