Move magit-gerrit configuration to use-package

This commit is contained in:
Gergely Polonkai 2016-10-10 20:34:58 +02:00
parent ed1a2a1a73
commit 5f70ba3eed

View File

@ -253,6 +253,10 @@
(use-package magithub) (use-package magithub)
(use-package magit-gerrit
:init
(setq-default magit-gerrit-remote "gerrit"))
(use-package ag (use-package ag
:bind :bind
(("C-x M-a" . ag) (("C-x M-a" . ag)
@ -289,10 +293,6 @@
;; Define aliases ;; Define aliases
(defalias 'yes-or-no-p 'y-or-n-p) (defalias 'yes-or-no-p 'y-or-n-p)
;; Magit settings
(setq-default magit-gerrit-remote "gerrit")
(add-hook 'after-init-hook (lambda () (require 'magit-gerrit)))
;; Helm settings ;; Helm settings
(setq helm-M-x-fuzzy-match t (setq helm-M-x-fuzzy-match t
helm-buffers-fuzzy-matching t helm-buffers-fuzzy-matching t