[keyboard-layout] replace `evil-magit` by `evil-collection-magit`
`evil-magit` is part of `evil-collection-magit` now
This commit is contained in:
parent
eeee3a1fa0
commit
982e2515a3
|
@ -30,11 +30,11 @@
|
||||||
ediff
|
ediff
|
||||||
elfeed
|
elfeed
|
||||||
evil
|
evil
|
||||||
|
evil-collection
|
||||||
evil-cleverparens
|
evil-cleverparens
|
||||||
evil-escape
|
evil-escape
|
||||||
evil-evilified-state
|
evil-evilified-state
|
||||||
evil-lisp-state
|
evil-lisp-state
|
||||||
evil-magit
|
|
||||||
evil-surround
|
evil-surround
|
||||||
eyebrowse
|
eyebrowse
|
||||||
flycheck
|
flycheck
|
||||||
|
@ -290,22 +290,22 @@
|
||||||
"K"
|
"K"
|
||||||
"L")))
|
"L")))
|
||||||
|
|
||||||
(defun keyboard-layout/pre-init-evil-magit ()
|
(defun keyboard-layout/pre-init-evil-collection ()
|
||||||
(kl|config evil-magit
|
(kl|config evil-collection-magit
|
||||||
:description
|
:description
|
||||||
"Remap `evil-magit' bindings."
|
"Remap `evil-collection-magit' bindings."
|
||||||
:loader
|
:loader
|
||||||
(with-eval-after-load 'evil-magit BODY)
|
(with-eval-after-load 'evil-collection-magit BODY)
|
||||||
:common
|
:common
|
||||||
(dolist (state (if evil-magit-use-y-for-yank
|
(dolist (state (if evil-collection-magit-use-y-for-yank
|
||||||
(list evil-magit-state 'visual)
|
(list evil-collection-magit-state 'visual)
|
||||||
(list evil-magit-state)))
|
(list evil-collection-magit-state)))
|
||||||
(kl/evil-correct-keys state magit-mode-map
|
(kl/evil-correct-keys state magit-mode-map
|
||||||
"j"
|
"j"
|
||||||
"k"
|
"k"
|
||||||
"C-j"
|
"C-j"
|
||||||
"C-k"))
|
"C-k"))
|
||||||
(kl/evil-correct-keys 'normal evil-magit-toggle-text-minor-mode-map
|
(kl/evil-correct-keys 'normal evil-collection-magit-toggle-text-minor-mode-map
|
||||||
"C-j")))
|
"C-j")))
|
||||||
|
|
||||||
(defun keyboard-layout/pre-init-evil-surround ()
|
(defun keyboard-layout/pre-init-evil-surround ()
|
||||||
|
|
Loading…
Reference in New Issue