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>
This commit is contained in:
Lukas Fleischer 2019-01-19 10:40:13 +01:00
parent 870fa1aa32
commit bffa517250

View File

@ -80,7 +80,7 @@ static struct keydef_s keydef[NBKEYS] = {
{ "generic-prev-day", "T ^H", gettext_noop("-1 Day") }, { "generic-prev-day", "T ^H", gettext_noop("-1 Day") },
{ "generic-next-day", "t ^L", gettext_noop("+1 Day") }, { "generic-next-day", "t ^L", gettext_noop("+1 Day") },
{ "generic-prev-week", "W ^K", gettext_noop("-1 Week") }, { "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-prev-month", "M", gettext_noop("-1 Month") },
{ "generic-next-month", "m", gettext_noop("+1 Month") }, { "generic-next-month", "m", gettext_noop("+1 Month") },
{ "generic-prev-year", "Y", gettext_noop("-1 Year") }, { "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") }, { "add-item", "a A", gettext_noop("Add Item") },
{ "del-item", "d D", gettext_noop("Del Item") }, { "del-item", "d D", gettext_noop("Del Item") },
{ "edit-item", "e E", gettext_noop("Edit Itm") }, { "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") }, { "pipe-item", "|", gettext_noop("Pipe") },
{ "flag-item", "!", gettext_noop("Flag Itm") }, { "flag-item", "!", gettext_noop("Flag Itm") },
{ "repeat", "r", gettext_noop("Repeat") }, { "repeat", "r", gettext_noop("Repeat") },