From 9b148900b87b113bc9f30033eff30865a3b43086 Mon Sep 17 00:00:00 2001 From: Aurora Date: Mon, 18 Jan 2021 19:45:07 +0000 Subject: Add generic-prev-view key binding This can be used to cycle backwards through windows (similarly to generic-change-view). Signed-off-by: Lukas Fleischer --- src/keys.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/keys.c') diff --git a/src/keys.c b/src/keys.c index a92c7bc..7c57c38 100644 --- a/src/keys.c +++ b/src/keys.c @@ -116,6 +116,7 @@ static struct keydef_s keydef[NBVKEYS] = { { "generic-copy", "c", gettext_noop("Copy") }, { "generic-paste", "p ^V", gettext_noop("Paste") }, { "generic-change-view", "TAB", gettext_noop("Chg Win") }, + { "generic-prev-view", "KEY_BTAB", gettext_noop("Prev Win") }, { "generic-import", "i I", gettext_noop("Import") }, { "generic-export", "x X", gettext_noop("Export") }, { "generic-goto", "g G", gettext_noop("Go to") }, @@ -664,6 +665,8 @@ void keys_popup_info(enum vkey key) _("Paste an item at the current position."); info[KEY_GENERIC_CHANGE_VIEW] = _("Select next panel in calcurse main screen."); + info[KEY_GENERIC_PREV_VIEW] = + _("Select previous panel in calcurse main screen."); info[KEY_GENERIC_IMPORT] = _("Import data from an external file."); info[KEY_GENERIC_EXPORT] = _("Export data to a new file format."); info[KEY_GENERIC_GOTO] = _("Select the day to go to."); -- cgit v1.2.3-54-g00ecf