/gtm-emacs-plugin

Plugin for the Emacs editor to be used with the Git Time Metric platform.

Primary LanguageEmacs LispMIT LicenseMIT

gtm-emacs-plugin

Plugin for the Emacs editor to be used with the Git Time Metric platform.

Usage

M-x gtm-emacs-plugin-record

To automatically record time after saving:

(Choose depending on your favorite mode.)

(eval-after-load 'js-mode
	   '(add-hook 'js-mode-hook (lambda () (add-hook 'after-save-hook 'gtm-emacs-plugin-record))))

(eval-after-load 'js2-mode
	   '(add-hook 'js-mode-hook (lambda () (add-hook 'after-save-hook 'gtm-emacs-plugin-record))))

or track all your files

(add-hook 'after-save-hook 'gtm-emacs-plugin-record)