X-Git-Url: https://git.cworth.org/git?p=notmuch-wiki;a=blobdiff_plain;f=vimtips.mdwn;fp=vimtips.mdwn;h=bc50848d82649c724306afd5047007c439cdbf45;hp=bc1952a5b86ecf9c90b098e0292db296f47fa357;hb=0ee473b0ed8c91bab417fdce3411bb99cc942bc0;hpb=05fa804ecd8928f5df6ccb2007f3a128ee276ed0 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