From 6550591b08eed2c06932f194d5f44ee44084b9b3 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Wed, 16 Jul 2014 16:03:26 +0200 Subject: 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 --- src/keys.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/keys.c') 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] = -- cgit v1.2.3-54-g00ecf