aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorTim Culverhouse <tim@timculverhouse.com>2022-06-19 16:41:16 -0500
committerRobin Jarry <robin@jarry.cc>2022-06-22 11:36:46 +0200
commitbe2abb3d91fe19f8a90f550f7dce872ac5115ead (patch)
tree5d5e785c30765aec4171b9a6be42055e849ce4d0 /config
parente78540990496cb3f4ff611c680b005022d9d2fad (diff)
downloadaerc-be2abb3d91fe19f8a90f550f7dce872ac5115ead.tar.gz
binds: Open msgs in default Postpone folder in edit-mode
Add a default keybind to open messages in the default Postpone folder ("Drafts") in edit-mode. A frequent question on IRC is "how do I edit a draft?". When a user selects a Draft and presses <Enter>, the intent is usually to edit that draft. This commit makes this the default behaviour for the default Postpone folder. Signed-off-by: Tim Culverhouse <tim@timculverhouse.com> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'config')
-rw-r--r--config/binds.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/binds.conf b/config/binds.conf
index 589dc55a..a336dc2c 100644
--- a/config/binds.conf
+++ b/config/binds.conf
@@ -55,6 +55,9 @@ n = :next-result<Enter>
N = :prev-result<Enter>
<Esc> = :clear<Enter>
+[messages:folder=Drafts]
+<Enter> = :recall<Enter>
+
[view]
/ = :toggle-key-passthrough<Enter>/
q = :close<Enter>