aboutsummaryrefslogtreecommitdiff
path: root/src/keys.hh
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2025-08-04 21:46:18 +0200
committerRodrigo Arias Mallo <rodarima@gmail.com>2025-08-04 22:23:21 +0200
commit8429930aecec8f5714c9e956171002fbb9c4eba3 (patch)
treec5d0992fc22fb90b2dbebc3875a803408ecc1188 /src/keys.hh
parent607e4acefeec5776dfff63090a79baef15c6c336 (diff)
Focus the N-th tab with Alt-<number>
Allows jumping directly to a given tab. It encourages a low number of tabs opened, otherwise it will exceed the 1 to 10 range.
Diffstat (limited to 'src/keys.hh')
-rw-r--r--src/keys.hh12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/keys.hh b/src/keys.hh
index 72b62d18..6a2c82c7 100644
--- a/src/keys.hh
+++ b/src/keys.hh
@@ -52,7 +52,17 @@ typedef enum {
KEYS_COPY,
KEYS_ZOOM_IN,
KEYS_ZOOM_OUT,
- KEYS_ZOOM_RESET
+ KEYS_ZOOM_RESET,
+ KEYS_FOCUS_TAB1,
+ KEYS_FOCUS_TAB2,
+ KEYS_FOCUS_TAB3,
+ KEYS_FOCUS_TAB4,
+ KEYS_FOCUS_TAB5,
+ KEYS_FOCUS_TAB6,
+ KEYS_FOCUS_TAB7,
+ KEYS_FOCUS_TAB8,
+ KEYS_FOCUS_TAB9,
+ KEYS_FOCUS_TAB10
} KeysCommand_t;
class Keys {