aboutsummaryrefslogtreecommitdiffstats
path: root/src/keys.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2014-07-16 16:03:26 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2014-07-16 16:03:26 +0200
commit6550591b08eed2c06932f194d5f44ee44084b9b3 (patch)
tree65a3185f61a60d90fd7f918628349b8595877941 /src/keys.c
parentf7f49da17ca1352bd86b903d7bac448c3c5174e3 (diff)
downloadcalcurse-6550591b08eed2c06932f194d5f44ee44084b9b3.tar.gz
calcurse-6550591b08eed2c06932f194d5f44ee44084b9b3.zip
Add a key binding to reload appointments and todos
This allows for reloading the appointment and todo item files without having to restart calcurse. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/keys.c')
-rw-r--r--src/keys.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/keys.c b/src/keys.c
index 83b1fb3..d05b837 100644
--- a/src/keys.c
+++ b/src/keys.c
@@ -56,6 +56,7 @@ static struct keydef_s keydef[NBKEYS] = {
{"generic-help", "?"},
{"generic-quit", "q Q"},
{"generic-save", "s S C-s"},
+ {"generic-reload", "R"},
{"generic-copy", "c"},
{"generic-paste", "p C-v"},
{"generic-change-view", "TAB"},
@@ -92,7 +93,7 @@ static struct keydef_s keydef[NBKEYS] = {
{"view-item", "v V"},
{"pipe-item", "|"},
{"flag-item", "!"},
- {"repeat", "r R"},
+ {"repeat", "r"},
{"edit-note", "n N"},
{"view-note", ">"},
{"raise-priority", "+"},
@@ -470,6 +471,7 @@ void keys_popup_info(enum key key)
info[KEY_GENERIC_QUIT] =
_("Exit from the current menu, or quit calcurse.");
info[KEY_GENERIC_SAVE] = _("Save calcurse data.");
+ info[KEY_GENERIC_RELOAD] = _("Reload appointments and todo items.");
info[KEY_GENERIC_COPY] =
_("Copy the item that is currently selected.");
info[KEY_GENERIC_PASTE] =