diff options
author | Lukas Fleischer <lfleischer@calcurse.org> | 2019-01-19 10:40:13 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2019-01-19 10:41:05 +0100 |
commit | bffa517250be8c42e09c1a2265f51d4b6de18b14 (patch) | |
tree | 48c56cee80d380c72745d086dea45a8c638ae51f /src | |
parent | 870fa1aa327c443979bddfc862a691597b8a2273 (diff) | |
download | calcurse-bffa517250be8c42e09c1a2265f51d4b6de18b14.tar.gz calcurse-bffa517250be8c42e09c1a2265f51d4b6de18b14.zip |
Bind RETURN to view-item by default
Also, use the modern key name instead of the backwards compatibility
name.
Addresses GitHub issue #168.
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/keys.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -80,7 +80,7 @@ static struct keydef_s keydef[NBKEYS] = { { "generic-prev-day", "T ^H", gettext_noop("-1 Day") }, { "generic-next-day", "t ^L", gettext_noop("+1 Day") }, { "generic-prev-week", "W ^K", gettext_noop("-1 Week") }, - { "generic-next-week", "w ^J", gettext_noop("+1 Week") }, + { "generic-next-week", "w", gettext_noop("+1 Week") }, { "generic-prev-month", "M", gettext_noop("-1 Month") }, { "generic-next-month", "m", gettext_noop("+1 Month") }, { "generic-prev-year", "Y", gettext_noop("-1 Year") }, @@ -99,7 +99,7 @@ static struct keydef_s keydef[NBKEYS] = { { "add-item", "a A", gettext_noop("Add Item") }, { "del-item", "d D", gettext_noop("Del Item") }, { "edit-item", "e E", gettext_noop("Edit Itm") }, - { "view-item", "v V", gettext_noop("View") }, + { "view-item", "v V RET", gettext_noop("View") }, { "pipe-item", "|", gettext_noop("Pipe") }, { "flag-item", "!", gettext_noop("Flag Itm") }, { "repeat", "r", gettext_noop("Repeat") }, |