From: Mark Wooding Date: Thu, 8 May 2008 10:28:11 +0000 (+0100) Subject: emacs: Add key bindings for timeclock functions. X-Git-Url: https://git.distorted.org.uk/~mdw/profile/commitdiff_plain/5f21ac4f43be3bf9571e67d0f0cccf7bd8dd5db7?hp=-c emacs: Add key bindings for timeclock functions. We don't yet have operations for extracting the data in the format required by the timesheet system, but that can wait. At least we can collect the raw data now. --- 5f21ac4f43be3bf9571e67d0f0cccf7bd8dd5db7 diff --git a/emacs b/emacs index 2aaf952..5e3d2e7 100644 --- a/emacs +++ b/emacs @@ -330,6 +330,12 @@ (global-set-key [?\C-x ?w ?j] 'windmove-down) (global-set-key [?\C-x ?w right] 'windmove-right) (global-set-key [?\C-x ?w ?l] 'windmove-right) +(global-set-key [?\C-x ?t ?i] 'timeclock-in) +(global-set-key [?\C-x ?t ?c] 'timeclock-change) +(global-set-key [?\C-x ?t ?o] 'timeclock-out) +(global-set-key [?\C-x ?t ?r] 'timeclock-reread-log) +(global-set-key [?\C-x ?t ?w] 'timeclock-workday-remaining-string) +(global-set-key [?\C-x ?t ?s] 'timeclock-status-string) (global-set-key [?\M-#] 'calc-dispatch) (global-set-key [?\C-x ?/] 'auto-fill-mode) (global-set-key [?\C-x ?w ?d] 'mdw-divvy-window)