I am trying to set up vim for writing email. I have a plugin to provide autocompletion of email addresses (notmuch abook ). If I do :set completefunc it tells me it is CompleteAddressBook as expected.

However, when I hit Tab I get what appear to be spelling suggestions from a word dictionary. I do have spell set, but I'm confused as to how to get past spell to get completefunc used.

You can see my vimrc in case there is something weird in there.

Ideas for debugging steps welcome.


It turned out that rather than using Tab I had to use Ctrlx Ctrlu

See the compl-function docs for more.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.