]> git.cworth.org Git - notmuch-wiki/blobdiff - vimtips.mdwn
News for release 0.38.3
[notmuch-wiki] / vimtips.mdwn
index bc1952a5b86ecf9c90b098e0292db296f47fa357..d77ed92d298b37b4b910ec2bfb8054b0556f915a 100644 (file)
@@ -3,10 +3,34 @@
 
 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).
+[notmuch-vim](https://git.notmuchmail.org/git/notmuch/blob/HEAD:/vim/README).
 
 [[!toc levels=2]]
 
+## Install the vim addon for Notmuch
+
+Before you can run Notmuch within vim, you must install notmuch as a vim addon.
+
+For example, if you have installed from the debian package:
+
+    $ sudo apt-get install notmuch-vim
+
+then to install as an addon, run this command:
+
+    $ vim-addon-manager install notmuch
+
+## Run Notmuch within vim
+
+Open vim and type
+
+    :Notmuch
+
+and press ENTER. Voila.
+
+
+Alternatively, you can invoke vim with the -c flag:
+
+    $ vim -c :Notmuch
 
 ## Addressbook management and vim