aboutsummaryrefslogtreecommitdiff
path: root/key-binding.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2025-04-20 05:58:02 +0000
committerDaniel Eklöf <daniel@ekloef.se>2025-04-26 12:20:58 +0000
commit6bc91b5e288ef16613a4e6f9d0a9f6077cedc267 (patch)
tree67ba84ba5b165a2a8c24253b83ae7935d7a3bd9c /key-binding.h
parentconfig: add new section 'colors2' (diff)
key-bindings: add bindings to switch between color themes
* color-theme-switch-1: select the primary color theme * color-theme-switch-2: select the alternative color theme * color-theme-toggle: toggle between the primary and alternative color themes
Diffstat (limited to 'key-binding.h')
-rw-r--r--key-binding.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/key-binding.h b/key-binding.h
index 89398859..5f0c1f1e 100644
--- a/key-binding.h
+++ b/key-binding.h
@@ -43,6 +43,9 @@ enum bind_action_normal {
BIND_ACTION_QUIT,
BIND_ACTION_REGEX_LAUNCH,
BIND_ACTION_REGEX_COPY,
+ BIND_ACTION_THEME_SWITCH_1,
+ BIND_ACTION_THEME_SWITCH_2,
+ BIND_ACTION_THEME_TOGGLE,
/* Mouse specific actions - i.e. they require a mouse coordinate */
BIND_ACTION_SCROLLBACK_UP_MOUSE,
@@ -56,7 +59,7 @@ enum bind_action_normal {
BIND_ACTION_SELECT_QUOTE,
BIND_ACTION_SELECT_ROW,
- BIND_ACTION_KEY_COUNT = BIND_ACTION_REGEX_COPY + 1,
+ BIND_ACTION_KEY_COUNT = BIND_ACTION_THEME_TOGGLE + 1,
BIND_ACTION_COUNT = BIND_ACTION_SELECT_ROW + 1,
};