aboutsummaryrefslogtreecommitdiffstats
path: root/doc/aerc.1.scd
diff options
context:
space:
mode:
Diffstat (limited to 'doc/aerc.1.scd')
-rw-r--r--doc/aerc.1.scd9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/aerc.1.scd b/doc/aerc.1.scd
index aac014c9..d4376be7 100644
--- a/doc/aerc.1.scd
+++ b/doc/aerc.1.scd
@@ -54,6 +54,15 @@ as the terminal emulator, *<c-x>* is used to bring up the command interface.
Different commands work in different contexts, depending on the kind of tab you
have selected.
+Dynamic arguments are expanded following *aerc-templates*(7) depending on the
+context. For example, if you have a message selected, the following command:
+
+```
+:filter -f "{{index (.From | emails) 0}}"
+```
+
+Will filter all messages sent by the same sender.
+
Aerc stores a history of commands, which can be cycled through in command mode.
Pressing the up key cycles backwards in history, while pressing down cycles
forwards.