Fix evilification of git-rebase-mode
This commit is contained in:
parent
007c833ee3
commit
85e19ebc7e
1 changed files with 5 additions and 5 deletions
|
@ -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
|
||||||
|
|
Reference in a new issue