From 1d74966a60c31716be090f15bf3988d2b389d5cf Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Wed, 13 Jun 2012 00:03:54 +0200 Subject: 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 --- src/keys.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/keys.c b/src/keys.c index f670f9a..ebc97f3 100644 --- a/src/keys.c +++ b/src/keys.c @@ -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"}, -- cgit v1.2.3-70-g09d2