Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | history: store command history in a file | Moritz Poldrack | 2022-09-14 | 1 | -0/+77 |
| | | | | | | | | | | | | | | | Losing your progress in case of a crash, or when accidentally closing aerc is annoying and costs time. This can be drastically reduced by keeping a persistent history. Write commands to XDG_CACHE_DIR/aerc/histfile when they are run and load them when needed. If another instance of aerc is already writing the file, fall back to the current model, where the history is kept in memory. Signed-off-by: Moritz Poldrack <git@moritz.sh> Acked-by: Robin Jarry <robin@jarry.cc> Acked-by: Tim Culverhouse <tim@timculverhouse.com> | ||||
* | history: don't store duplicate entries | Moritz Poldrack | 2022-09-14 | 1 | -1/+3 |
| | | | | | | Signed-off-by: Moritz Poldrack <git@moritz.sh> Acked-by: Tim Culverhouse <tim@timculverhouse.com> Acked-by: Robin Jarry <robin@jarry.cc> | ||||
* | Add command history and cycling | Galen Abell | 2019-07-26 | 1 | -0/+62 |
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. |