From cda2fc734378c733f93249958975df55366e8543 Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Tue, 9 May 2023 21:50:35 +0100 Subject: Add Alt-h and Alt-l keybindings. --- src/input.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/input.c b/src/input.c index 7d9eb54..429b1d1 100644 --- a/src/input.c +++ b/src/input.c @@ -66,11 +66,13 @@ void input_handle_keypress(struct tofi *tofi, xkb_keycode_t keycode) } else if (sym == XKB_KEY_Up || sym == XKB_KEY_Left || sym == XKB_KEY_ISO_Left_Tab + || (key == KEY_H && alt) || ((key == KEY_K || key == KEY_P) && (ctrl || alt))) { select_previous_result(tofi); } else if (sym == XKB_KEY_Down || sym == XKB_KEY_Right || sym == XKB_KEY_Tab + || (key == KEY_L && alt) || ((key == KEY_J || key == KEY_N) && (ctrl || alt))) { select_next_result(tofi); } else if (sym == XKB_KEY_Home) { -- cgit v1.2.3