Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 605 Bytes

File metadata and controls

24 lines (16 loc) · 605 Bytes

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)