From b972dace426a91e6b2011a262a88ce981df49059 Mon Sep 17 00:00:00 2001 From: butterkeks Date: Sat, 14 Sep 2024 08:57:55 +0200 Subject: [PATCH] Add 'n' and 'p' keybindings --- src/frontends/gtk3popup/dictpopup-application.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontends/gtk3popup/dictpopup-application.c b/src/frontends/gtk3popup/dictpopup-application.c index 78fe003..bb40de9 100644 --- a/src/frontends/gtk3popup/dictpopup-application.c +++ b/src/frontends/gtk3popup/dictpopup-application.c @@ -89,8 +89,8 @@ static void init_ui(DpApplication *self) { static void init_accels(GApplication *app) { const char *const close_window_accels[] = {"q", "Escape", NULL}; - const char *const next_definition_accels[] = {"s", NULL}; - const char *const previous_definition_accels[] = {"a", NULL}; + const char *const next_definition_accels[] = {"s", "n", NULL}; + const char *const previous_definition_accels[] = {"a", "p", NULL}; const char *const pronounce_accels[] = {"p", "r", NULL}; const char *const add_to_anki_accels[] = {"s", NULL}; const char *const edit_lookup_accels[] = {"e", NULL};