diff options
author | Robin Jarry <robin@jarry.cc> | 2022-09-16 08:51:52 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-09-20 00:03:28 +0200 |
commit | e808b96d63ecab9990cbb295e786010be66243be (patch) | |
tree | 2f9241a4ea35c4351f5b920fcc1f2433ce0f08e9 /config | |
parent | d371c1ac8d03146512311c73b43ae90813ded9b0 (diff) | |
download | aerc-e808b96d63ecab9990cbb295e786010be66243be.tar.gz |
binds: allow typing ? in subject header
Since commit 5c8a749cfa97 ("binds: display active keybinds in a dialog
box") the ? key is bound to `:help keys` in the global section which
applies to all binding contexts. Pressing ? while editing any email
headers in the compose window (when the editor is not selected) displays
the active bindings menu.
Add $noinherit=true in the [compose] context to allow typing any
character. Copy the bindings for next-tab and prev-tab so that users can
still change tabs while editing headers.
Cc: Akspecs <akspecs@gmail.com>
Signed-off-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'config')
-rw-r--r-- | config/binds.conf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/binds.conf b/config/binds.conf index cb5ffd3d..f46111b0 100644 --- a/config/binds.conf +++ b/config/binds.conf @@ -90,10 +90,13 @@ $ex = <C-x> [compose] # Keybindings used when the embedded terminal is not selected in the compose # view +$noinherit = true $ex = <C-x> <C-k> = :prev-field<Enter> <C-j> = :next-field<Enter> <tab> = :next-field<Enter> +<C-p> = :prev-tab<Enter> +<C-n> = :next-tab<Enter> [compose::editor] # Keybindings used when the embedded terminal is selected in the compose view |