summaryrefslogtreecommitdiff
path: root/src/calcurse.h
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2012-06-12 23:12:51 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2012-06-13 00:12:32 +0200
commitcabc22e032b933a84335da9acbbf0721eed9c63f (patch)
tree3a4915b68672986d1a3fb1228d78e40cc80b103c /src/calcurse.h
parent42c486d30d8e6f82d27651e19029e332af86cba3 (diff)
downloadcalcurse-cabc22e032b933a84335da9acbbf0721eed9c63f.zip
Add key bindings to go to the previous/next month/year
In addition to generic key bindings for moving one day (week) forward/backward, define similar bindings for moving a month or a year. Of course, count prefixes are allowed here as well. Also add status bar hints and help texts. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r--src/calcurse.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/calcurse.h b/src/calcurse.h
index ec6335f..9f01f48 100644
--- a/src/calcurse.h
+++ b/src/calcurse.h
@@ -403,6 +403,10 @@ enum key {
KEY_GENERIC_NEXT_DAY,
KEY_GENERIC_PREV_WEEK,
KEY_GENERIC_NEXT_WEEK,
+ KEY_GENERIC_PREV_MONTH,
+ KEY_GENERIC_NEXT_MONTH,
+ KEY_GENERIC_PREV_YEAR,
+ KEY_GENERIC_NEXT_YEAR,
KEY_GENERIC_SCROLL_DOWN,
KEY_GENERIC_SCROLL_UP,
KEY_GENERIC_GOTO_TODAY,
@@ -539,7 +543,11 @@ enum move {
WEEK_PREV,
WEEK_NEXT,
WEEK_START,
- WEEK_END
+ WEEK_END,
+ MONTH_PREV,
+ MONTH_NEXT,
+ YEAR_PREV,
+ YEAR_NEXT
};
/* Available color pairs. */