config: add new key-binding 'quit', unbound by default

Closes #1475
This commit is contained in:
Daniel Eklöf 2024-04-10 19:26:23 +02:00
parent fa07c1ec67
commit b400903e25
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
6 changed files with 13 additions and 1 deletions

View file

@ -40,6 +40,7 @@ enum bind_action_normal {
BIND_ACTION_PROMPT_PREV,
BIND_ACTION_PROMPT_NEXT,
BIND_ACTION_UNICODE_INPUT,
BIND_ACTION_QUIT,
/* Mouse specific actions - i.e. they require a mouse coordinate */
BIND_ACTION_SCROLLBACK_UP_MOUSE,
@ -53,7 +54,7 @@ enum bind_action_normal {
BIND_ACTION_SELECT_QUOTE,
BIND_ACTION_SELECT_ROW,
BIND_ACTION_KEY_COUNT = BIND_ACTION_UNICODE_INPUT + 1,
BIND_ACTION_KEY_COUNT = BIND_ACTION_QUIT + 1,
BIND_ACTION_COUNT = BIND_ACTION_SELECT_ROW + 1,
};