diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-10-04 00:24:03 +0000 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-10-06 12:37:06 +0200 |
commit | 59e006e56d9f893506af56a4ca114fe53b537e49 (patch) | |
tree | c27e3518b30f96a84ebe212dc8dc8423bc369d50 /src/custom.c | |
parent | 98651a549f6fc43d96207734fb0f02b240354a4c (diff) | |
download | calcurse-59e006e56d9f893506af56a4ca114fe53b537e49.tar.gz calcurse-59e006e56d9f893506af56a4ca114fe53b537e49.zip |
src/calcurse.c: Support count prefixes for motions
Add a global count buffer to our main loop and pass it to keys_getch()
as well as to all motion commands.
This enables some fancy shortcuts:
* Type "2l" to jump to the day after tomorrow.
* Type "4k" (or "28l") to move forward four weeks.
* Type "2$" to go to the end of next week.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/custom.c')
0 files changed, 0 insertions, 0 deletions