0

I'm relatively new to Vim so there may be something obvious I'm missing here. I'm usig Neovim and have installed the vim-jedi plugin. When I'm typing, I can see that it's offering autocomplete options: enter image description here

I can scroll down to this option (using the arrow keys) and hit Enter to have it autocomplete. However, if I hit <Ctrl+Space> then it does not autocomplete. I've looked at my :map and <Ctrl+Space> doesn't seem to be mapped to anything already. Can anyone please assist?

D. Ben Knoble
  • 4,273
  • 1
  • 20
  • 38
Chris J Harris
  • 1,597
  • 2
  • 14
  • 26

1 Answers1

0

I've never used that plugin before, but when using VIM normally I always do CTRL-p or CTRL-n to auto-complete a word that has already been typed once in my document. Then after highlighting the correct one, I hit space to confirm selection and also to continue typing the next word. Hitting CTRL-space should be unnecessary if it works in the same way as regular vim auto-complete.

You can also use CTRL-n or CTRL-p respectively to select which word is the correct one to auto-complete to.