Move wakatime-mode configuration to use-package

This commit is contained in:
Gergely Polonkai 2016-10-10 20:40:40 +02:00
parent 6938f57981
commit d380a48699

13
init.el
View File

@ -138,8 +138,7 @@
'(savehist-mode t)
'(sgml-basic-offset 4)
'(show-trailing-whitespace t)
'(tab-width 4)
'(wakatime-cli-path "/usr/local/bin/wakatime")
'(tab-width 4))
;; Custom face settings
(custom-set-faces
@ -398,6 +397,13 @@
(lambda ()
(if (display-graphic-p) org-bullets-mode))))
;; Waka-waka
(use-package wakatime-mode
:init
(setq-default wakatime-cli-path "/usr/local/bin/wakatime")
:config
(global-wakatime-mode t))
(use-package ace-window
:bind
(("M-p" . ace-window)))
@ -416,9 +422,6 @@
;; Define aliases
(defalias 'yes-or-no-p 'y-or-n-p)
;; Waka-waka
(add-hook 'after-init-hook 'global-wakatime-mode)
;; `c-mode' settings
(add-hook 'c-mode-hook
(lambda ()