summaryrefslogtreecommitdiff
path: root/vimtips.mdwn
diff options
context:
space:
mode:
authorJack Desert <jackdesert@gmail.com>2016-02-07 18:05:16 -0800
committerJack Desert <jackdesert@gmail.com>2016-02-07 18:39:03 -0800
commit0ee473b0ed8c91bab417fdce3411bb99cc942bc0 (patch)
tree306fe37c613b3480a48650d28370462f1530e188 /vimtips.mdwn
parent05fa804ecd8928f5df6ccb2007f3a128ee276ed0 (diff)
Added to vim documentation:
* How to install notmuch as a vim addon * How to open notmuch from within vim
Diffstat (limited to 'vimtips.mdwn')
-rw-r--r--vimtips.mdwn24
1 files changed, 24 insertions, 0 deletions
diff --git a/vimtips.mdwn b/vimtips.mdwn
index bc1952a..bc50848 100644
--- a/vimtips.mdwn
+++ b/vimtips.mdwn
@@ -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