chiark / gitweb /
emacs: Add key bindings for timeclock functions.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 8 May 2008 10:28:11 +0000 (11:28 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 8 May 2008 10:28:11 +0000 (11:28 +0100)
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.

emacs

diff --git a/emacs b/emacs
index 2aaf95201bf28f264fde54a4ad5bb98911a170e9..5e3d2e7987e48e02737e2304b9dd4be98b4b8a9f 100644 (file)
--- a/emacs
+++ b/emacs
 (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)