Add command history and cycling

Aerc will keep track of the previous 1000 commands, which the user can
cycle through using the arrow keys while in the ex-line. Pressing up
will move backwards in history while pressing down will move forward.
This commit is contained in:
Galen Abell 2019-07-23 12:52:33 -04:00 committed by Drew DeVault
commit 8635c70fda
7 changed files with 113 additions and 8 deletions

View file

@ -25,6 +25,10 @@ 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.
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.
## GLOBAL COMMANDS
These commands work in any context.
@ -113,7 +117,7 @@ message list, the message in the message viewer, etc).
*unread*
Marks the selected message as unread.
*-t*: Toggle the selected message between read and unread.
*unsubscribe*