Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Setting my status

Maxime Boisvert maxboisvert

💭
Setting my status
View GitHub Profile
View .vimrc
" 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