Skip to content

Instantly share code, notes, and snippets.

View maxboisvert's full-sized avatar

Maxime Boisvert maxboisvert

View GitHub Profile
" Add this to your vimrc to get a minimalist autocomplete pop
" Or use as a plugin : https://github.com/maxboisvert/vim-simple-complete
" Minimalist-TabComplete-Plugin
inoremap <expr> <Tab> TabComplete()
fun! TabComplete()
if getline('.')[col('.') - 2] =~ '\K' || pumvisible()
return "\<C-P>"
else