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