summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@calcurse.org>2019-01-19 10:40:13 +0100
committerLukas Fleischer <lfleischer@calcurse.org>2019-01-19 10:41:05 +0100
commitbffa517250be8c42e09c1a2265f51d4b6de18b14 (patch)
tree48c56cee80d380c72745d086dea45a8c638ae51f /src
parent870fa1aa327c443979bddfc862a691597b8a2273 (diff)
downloadcalcurse-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keys.c b/src/keys.c
index 36bd64c..bb36a19 100644
--- a/src/keys.c
+++ b/src/keys.c
@@ -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") },