Allow user to set the notmuch config

And only set the completefunc for the current buffer