From 0ee473b0ed8c91bab417fdce3411bb99cc942bc0 Mon Sep 17 00:00:00 2001 From: Jack Desert Date: Sun, 7 Feb 2016 18:05:16 -0800 Subject: [PATCH] Added to vim documentation: * How to install notmuch as a vim addon * How to open notmuch from within vim --- vimtips.mdwn | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) 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 -- 2.43.0