diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-06-13 00:03:54 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-06-13 00:16:55 +0200 |
commit | 1d74966a60c31716be090f15bf3988d2b389d5cf (patch) | |
tree | 262c31f66f729e43e752ea6be421370dfb921684 | |
parent | cabc22e032b933a84335da9acbbf0721eed9c63f (diff) | |
download | calcurse-1d74966a60c31716be090f15bf3988d2b389d5cf.tar.gz calcurse-1d74966a60c31716be090f15bf3988d2b389d5cf.zip |
src/keys.c: Add vim-style default bindings for generic-*
Add vim-style key bindings for generic-prev-day, generic-next-day,
generic-prev-week and generic-next-week in a fashion similar to what we
use for generic-*-month and generic-*-year. The key "t"/"T" for
generic-prev-day/generic-next-day is somewhat less than perfect but this
is okay given that we're running out of keys...
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
-rw-r--r-- | src/keys.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -67,10 +67,10 @@ static struct keydef_s keydef[NBKEYS] = { {"generic-redraw", "C-r"}, {"generic-add-appt", "C-a"}, {"generic-add-todo", "C-t"}, - {"generic-prev-day", "C-h"}, - {"generic-next-day", "C-l"}, - {"generic-prev-week", "C-k"}, - {"generic-next-week", "C-j"}, + {"generic-prev-day", "T C-h"}, + {"generic-next-day", "t C-l"}, + {"generic-prev-week", "W C-k"}, + {"generic-next-week", "w C-j"}, {"generic-prev-month", "M"}, {"generic-next-month", "m"}, {"generic-prev-year", "Y"}, |