This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+tools/wakatime/packages.el
justbur 9befd20a1a layers: Transition to new key bindings functions
Removes dependence on evil-leader centralizing control over the method
of key binding in core-keybindings.el
2015-11-21 18:22:51 +01:00

13 lines
374 B
EmacsLisp

(setq wakatime-packages '(wakatime-mode))
(defun wakatime/init-wakatime-mode ()
(use-package wakatime-mode
:defer t
:init
(add-hook 'prog-mode-hook 'wakatime-mode)
:config
(defun spacemacs/wakatime-dashboard ()
(interactive)
(browse-url "wakatime.com/dashboard"))
(spacemacs/set-leader-keys
"aW" 'spacemacs/wakatime-dashboard)))