Move zone configuration to use-package

This commit is contained in:
Gergely Polonkai 2016-10-10 15:36:08 +02:00
parent 72b1754857
commit 67b42e2006
1 changed files with 6 additions and 5 deletions

11
init.el
View File

@ -192,7 +192,6 @@
(require 'helm-config)
(require 'xlicense)
(require 'linum)
(require 'zone)
(require 'magithub)
(require 'origami)
@ -239,6 +238,12 @@
:config
(add-hook 'eshell-load-hook 'nyan-prompt-enable))
;; Zone!
(use-package zone
:config
(setq zone-programs [zone-nyan])
(zone-when-idle 60))
(use-package smartparens-config
:ensure smartparens
:config
@ -291,10 +296,6 @@
(define-key company-mode-map (kbd "C-:") 'helm-company)
(define-key company-active-map (kbd "C-:") 'helm-company)))
; Nyanyanyanyanya
(setq zone-programs [zone-nyan])
(zone-when-idle 60)
;; Waka-waka
(add-hook 'after-init-hook 'global-wakatime-mode)