davidhalter / jedi-vim

Using the jedi autocompletion library for VIM.
MIT License
5.27k stars 370 forks source link

Need always autocompletion instead of only after dot #1107

Closed OurCodeBase closed 1 year ago

OurCodeBase commented 1 year ago

Issue

By default jedi-vim is working only after a dot or we have to trigger it manually using Ctrl+Space. I need automatically autocompletion of variables and all keywords used in python. I need autocompletion at all the time like lsp instead of only after dot.

davidhalter commented 1 year ago

There are various ways to do that. The one I'm using still works for me: https://github.com/ervandew/supertab

But I'm not sure that's how most people do this today. Some people also use https://github.com/deoplete-plugins/deoplete-jedi. Since omnicompletion in VIM is on C-X C-O, you can just remap that to wherever.