From b929e6e7d1c674573e278afe78a1cf980891a0c1 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Tue, 15 Feb 2022 12:48:46 +0200 Subject: Added keybindings for Unread/All mode switch IssueID #456 --- src/ui/keys.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/ui/keys.c b/src/ui/keys.c index 33f39633..c53f885c 100644 --- a/src/ui/keys.c +++ b/src/ui/keys.c @@ -242,6 +242,8 @@ static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_PRIMARY | KMOD_SHIFT, "input.precedingline" }, 0 }, + { 150,{ "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, + { 151,{ "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, /* The following cannot currently be changed (built-in duplicates). */ #if defined (iPlatformApple) { 1002, { NULL, SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" }, 0 }, -- cgit v1.2.3