completor.vim icon indicating copy to clipboard operation
completor.vim copied to clipboard

Trigger completion with Ctrl+Space

Open srounce opened this issue 8 years ago • 1 comments

Hi I've been trying to bind the completion trigger to <C-Space> but to no avail.

I'm quite the newb when it comes to bindings in vim, but after some Googling managed to come up with:

inoremap <expr> <C-@> pumvisible() ? "\<C-n>" : "\<C-x>\<C-u>\<C-p>"

Something still doesn't seem right however, I think my main problem is not fully understanding how the completions are triggered. If anyone could shed some light on this, it would be much appreciated.

srounce avatar Apr 12 '17 07:04 srounce

I tested with the <C-@> binding and it works very well with the config let g:completor_auto_trigger = 0.

maralla avatar Apr 12 '17 10:04 maralla