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

11
init.el
View File

@ -192,7 +192,6 @@
(require 'helm-config) (require 'helm-config)
(require 'xlicense) (require 'xlicense)
(require 'linum) (require 'linum)
(require 'zone)
(require 'magithub) (require 'magithub)
(require 'origami) (require 'origami)
@ -239,6 +238,12 @@
:config :config
(add-hook 'eshell-load-hook 'nyan-prompt-enable)) (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 (use-package smartparens-config
:ensure smartparens :ensure smartparens
:config :config
@ -291,10 +296,6 @@
(define-key company-mode-map (kbd "C-:") 'helm-company) (define-key company-mode-map (kbd "C-:") 'helm-company)
(define-key company-active-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 ;; Waka-waka
(add-hook 'after-init-hook 'global-wakatime-mode) (add-hook 'after-init-hook 'global-wakatime-mode)