]> granicus.if.org Git - neomutt/commitdiff
Add a macro for viewing the manual.
authorThomas Roessler <roessler@does-not-exist.org>
Tue, 27 Oct 1998 16:33:16 +0000 (16:33 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Tue, 27 Oct 1998 16:33:16 +0000 (16:33 +0000)
Muttrc.in

index 459a97282847b278ac688235e7043f2dfd7b3847..2b5e13c7ae6f7ae432a83aec85c97a7ac03d29f7 100644 (file)
--- a/Muttrc.in
+++ b/Muttrc.in
@@ -18,6 +18,11 @@ macro index \eb '/~b ' 'search in message bodies'
 macro index \cb |urlview\n 'call urlview to extract URLs out of a message'
 macro pager \cb |urlview\n 'call urlview to extract URLs out of a message'
 
+# Show documentation when pressing F1
+macro generic <f1> "!less @docdir@/manual.txt\n" "Show Mutt documentation"
+macro index   <f1> "!less @docdir@/manual.txt\n" "Show Mutt documentation"
+macro pager   <f1> "!less @docdir@/manual.txt\n" "Show Mutt documentation"
+
 # If Mutt is unable to determine your sites domain name correctly, you can
 # set the default here.
 #