Move wakatime-mode configuration to use-package
This commit is contained in:
parent
6938f57981
commit
d380a48699
13
init.el
13
init.el
@ -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 ()
|
||||
|
Loading…
Reference in New Issue
Block a user