When I write email or a git commit message, I sometime miss the autocomplete of another file.
Would it be possible to load completion candidate from another file into the current buffer ?
For e.g. if I’m writing in a file
/tmp/foo.txt, I could call a function
:load-autocomplete-candidate ~/my_project/main.py . Now I have all the function and variable from
main.py available inside
foo.txt autocomplete suggestion.
I didn’t find any doc regarding completion.
(EDIT: found it. it’s actually in
:doc options search for