From: Tomi Ollila Date: Wed, 3 Apr 2013 10:49:58 +0000 (+0300) Subject: append with >> X-Git-Url: https://git.cworth.org/git?p=notmuch-wiki;a=commitdiff_plain;h=b6589c4b55e7cf30844162634aa5466d78d7d205 append with >> --- diff --git a/vimtips.mdwn b/vimtips.mdwn index b531a77..53500f6 100644 --- a/vimtips.mdwn +++ b/vimtips.mdwn @@ -20,7 +20,7 @@ explains how to configure emacs with an addressbook, but the few solutions were for me. And I never could test the vala-based code. So I updated the notmuch_addresses code to use a cache to be able to make better matches and still be lightning fast. -And finally, [I needed](http://i.got.nothing.to/blog/2013/03/20/how-i-learned-to-stop-worrying-and-love-the-mail/) to have a way to autocomplete my recipients' addresses +And finally, [I needed](http://i.got.nothing.to/blog/2013/03/20/how-i-learned-to-stop-worrying-and-love-the-mail/) to have a way to autocomplete my recipients' addresses automagically from within `vim`. So that's why I created the [notmuch_abook](https://github.com/guyzmo/notmuch-abook) code. You can either install it as a plugin in vim, using vundle: @@ -33,8 +33,8 @@ want to use it as standalone: To configure the address book, append to `~/.notmuch-config` the following: - % cat > ~/.notmuch-config << EOF - + % cat >> ~/.notmuch-config << EOF + [addressbook] path=/home/YOURUSERNAME/.notmuch-abook.db backend=sqlite3 @@ -60,4 +60,3 @@ of each word in the name and address, as follows: If you're using vim, when you edit a mail having a filetype set to mail, you will be able to open a completion menu when you do at every address header. -