aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/binds.go2
-rw-r--r--doc/aerc-binds.5.scd4
2 files changed, 6 insertions, 0 deletions
diff --git a/config/binds.go b/config/binds.go
index 99c4df34..78f68eb4 100644
--- a/config/binds.go
+++ b/config/binds.go
@@ -443,6 +443,8 @@ var keyNames = map[string]KeyStroke{
"end": {tcell.ModNone, tcell.KeyEnd, 0},
"insert": {tcell.ModNone, tcell.KeyInsert, 0},
"delete": {tcell.ModNone, tcell.KeyDelete, 0},
+ "c-delete": {tcell.ModCtrl, tcell.KeyDelete, 0},
+ "a-delete": {tcell.ModAlt, tcell.KeyDelete, 0},
"backspace": {tcell.ModNone, tcell.KeyBackspace2, 0},
"help": {tcell.ModNone, tcell.KeyHelp, 0},
"exit": {tcell.ModNone, tcell.KeyExit, 0},
diff --git a/doc/aerc-binds.5.scd b/doc/aerc-binds.5.scd
index 0230610c..b9d4cb8a 100644
--- a/doc/aerc-binds.5.scd
+++ b/doc/aerc-binds.5.scd
@@ -169,6 +169,10 @@ special keys are supported:
: Insert
| *<delete>*
: Delete
+| *<c-delete>*
+: Ctrl+Delete
+| *<a-delete>*
+: Alt+Delete
| *<backspace>*
: Backspace
| *<exit>*