]> git.cworth.org Git - notmuch-wiki/blobdiff - vimtips.mdwn
cosmic
[notmuch-wiki] / vimtips.mdwn
index b531a77822b60ee0f9fbee97c149f7a858eff757..bc1952a5b86ecf9c90b098e0292db296f47fa357 100644 (file)
@@ -1,27 +1,22 @@
 [[!img notmuch-logo.png alt="Notmuch logo" class="left"]]
 [[!img notmuch-logo.png alt="Notmuch logo" class="left"]]
+# Tips and Tricks for using Notmuch with vim
 
 
-Notmuch is a great mail indexing tool that can also be used *in conjunction*
-with existing Mail User Agents (MUA) instead of replacing them. The advantage of
-such mixed solutions is that users can benefit from notmuch features (such as
-full-text search and thread reconstruction) without *having to* change MUA.
-
-A popular geek MUA is [the Mutt e-mail client](http://www.mutt.org); integrating
-notmuch with Mutt is not seamless, but fairly straightforward. There are two
-principal possibilities, either using a patched mutt that handles internally
-notmuch, or use a sets of scripts/handler within mutt to achieve something close.
+Tips for using Notmuch with vim; these may be applicable when using vim with
+[[notmuch-mutt]], [mutt-kz](https://github.com/karelzak/mutt-kz), or
+[notmuch-vim](http://git.notmuchmail.org/git/notmuch/blob/HEAD:/vim/README).
 
 [[!toc levels=2]]
 
 
 ## Addressbook management and vim
 
 
 [[!toc levels=2]]
 
 
 ## Addressbook management and vim
 
-There are some emacs tips over [here](http://notmuchmail.org/emacstips/#index15h2) that
+There are some emacs tips over [[here|emacstips#index15h2]] that
 explains how to configure emacs with an addressbook, but the few solutions were not fast enough
 explains how to configure emacs with an addressbook, but the few solutions were not fast enough
-for me. And I never could test the vala-based code. So I updated the notmuch_addresses code to
+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.
 
 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 
-automagically from within `vim`. So that's why I created the [notmuch_abook](https://github.com/guyzmo/notmuch-abook) code.
+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:
 
         Vundle 'guyzmo/notmuch-abook'
 You can either install it as a plugin in vim, using vundle:
 
         Vundle 'guyzmo/notmuch-abook'
@@ -33,8 +28,8 @@ want to use it as standalone:
 
 To configure the address book, append to `~/.notmuch-config` the following:
 
 
 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
         [addressbook]
         path=/home/YOURUSERNAME/.notmuch-abook.db
         backend=sqlite3
@@ -60,4 +55,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 <C-x><C-u> at every address header.
 
 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 <C-x><C-u> at every address header.
-