X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=doc%2Fmanual.sgml.head;h=d39feaccccd6756bf00a99d26cf17772956b7002;hb=08b24cfbdc0c35af65891f5b2478dc0ee33feb7e;hp=e8a8f026b56a5dd722ef62f74e2852726d6a6e2c;hpb=529bd38e97bf5b597a7e8149293b63c6fb82984e;p=apps%2Fmadmutt.git diff --git a/doc/manual.sgml.head b/doc/manual.sgml.head index e8a8f02..d39feac 100644 --- a/doc/manual.sgml.head +++ b/doc/manual.sgml.head @@ -1306,23 +1306,28 @@ set imap_home_namespace = $folder used just like any ordinary configuration or environment variable. -

For example, to view the manual, users can either define three +

For example, to view the manual, users can either define two macros like the following macro generic <F1> "!less -r /path/to/manual" "Show manual" macro pager <F1> "!less -r /path/to/manual" "Show manual" -macro index <F1> "!less -r /path/to/manual" "Show manual"

for -set user_manualcmd = '!less -r /path/to_manual" +set user_manualcmd = '!less -r /path/to_manual' macro generic <F1> "$user_manualcmd<enter>" "Show manual" macro pager <F1> "$user_manualcmd<enter>" "Show manual" macro index <F1> "$user_manualcmd<enter>" "Show manual" + + +

to re-use the command sequence as in: + + +macro index <F2> "$user_manualcmd | grep '\^[ ]\\+~. '" "Show Patterns"

Using this feature, arbitrary sequences can be defined once and