]> git.cworth.org Git - notmuch-wiki/commitdiff
Added to vim documentation:
authorJack Desert <jackdesert@gmail.com>
Mon, 8 Feb 2016 02:05:16 +0000 (18:05 -0800)
committerJack Desert <jackdesert@gmail.com>
Mon, 8 Feb 2016 02:39:03 +0000 (18:39 -0800)
  * How to install notmuch as a vim addon
  * How to open notmuch from within vim

vimtips.mdwn

index bc1952a5b86ecf9c90b098e0292db296f47fa357..bc50848d82649c724306afd5047007c439cdbf45 100644 (file)
@@ -7,6 +7,30 @@ Tips for using Notmuch with vim; these may be applicable when using vim with
 
 [[!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 invoce vim with the -c flag:
+
+    $ vim -c :NotMuch
 
 ## Addressbook management and vim