Fix evilification of git-rebase-mode

This commit is contained in:
syl20bnr 2015-02-04 01:05:54 -05:00
parent 007c833ee3
commit 85e19ebc7e

View file

@ -130,15 +130,15 @@ which require an initialization must be listed explicitly in the list.")
(evil-leader/set-key (evil-leader/set-key
"gm" 'git-messenger:popup-message))) "gm" 'git-messenger:popup-message)))
(defun git/git-rebase-mode () (defun git/init-git-rebase-mode ()
(use-package git-rebase-mode (use-package git-rebase-mode
:defer t :defer t
:init
(add-to-list 'evil-emacs-state-modes 'git-rebase-mode)
:config :config
(progn (progn
(add-to-list 'evil-emacs-state-modes 'git-rebase-mode) (spacemacs|evilify git-rebase-mode-map "y" 'git-rebase-insert)
(spacemacs|evilify 'git-rebase-mode-map) (spacemacs/activate-evil-leader-for-map 'git-rebase-mode-map))))
(spacemacs/activate-evil-leader-for-map 'git-rebase-mode-map
(kbd "y") 'git-rebase-insert))))
(defun git/init-git-timemachine () (defun git/init-git-timemachine ()
(use-package git-timemachine (use-package git-timemachine