From: Jack Desert Date: Mon, 8 Feb 2016 02:05:16 +0000 (-0800) Subject: Added to vim documentation: X-Git-Url: https://git.cworth.org/git?p=notmuch-wiki;a=commitdiff_plain;h=0ee473b0ed8c91bab417fdce3411bb99cc942bc0 Added to vim documentation: * How to install notmuch as a vim addon * How to open notmuch from within vim --- 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