dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 9aa055b620c0bd5946c4f1bb4e9039526d79439c
parent bf98785a31afc1dc122540951fcab6dcd2efee1b
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Tue, 30 Jul 2019 14:19:37 +0200

vim: completion

Get rid of auto omnicomplete and try to learn the built in completion
first.


Former-commit-id: 37582188fe26f7bc3f51554c6f3c5553a4098d0d
Diffstat:
Mvim/vimrc | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/vim/vimrc b/vim/vimrc @@ -101,9 +101,6 @@ Plug 'kkoomen/vim-doge' " Show git changes in the sign column Plug 'airblade/vim-gitgutter' -" A better omnicomplete -Plug 'https://gitlab.com/yramagicman/auto-omnicomplete' - " Substitute preview Plug 'markonm/traces.vim' call plug#end() @@ -426,9 +423,12 @@ set smartcase " but not if searching for capital set backspace=indent,eol,start set whichwrap+=<,>,h,l -" Better completion -set complete=.,w,b,u,t -set completeopt=menu,menuone,noinsert,noselect +" Complete from current buffer, other windows, buffers, unloaded buffers, tags, +" current and included files, and dictionary if spell is set +set complete=.,w,b,u,t,i,kspell +" Use popup menu, also when there is only one match, don't insert until the user selects +" a match, don't select anything automatically. +set completeopt=menu,menuone,preview " Keep cursor off top and bottom of screen set scrolloff=5