Skip to content

Commit 4c027d0

Browse files
author
iliekprogrammar
authored
[evil] restore original evil-lion bindings as defaults. (syl20bnr#15684)
1 parent 6415ade commit 4c027d0

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

layers/+spacemacs/spacemacs-evil/packages.el

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -224,12 +224,9 @@
224224
:defer t
225225
:init
226226
(progn
227-
;; Override the default keys, as they collide (with what ? :-))
228-
(setq evil-lion-left-align-key nil
229-
evil-lion-right-align-key nil)
230-
(spacemacs/set-leader-keys
231-
"xal" 'evil-lion-left
232-
"xaL" 'evil-lion-right))
227+
(evil-define-key '(normal visual) 'global
228+
"gl" #'evil-lion-left
229+
"gL" #'evil-lion-right))
233230
:config (evil-lion-mode)))
234231

235232
(defun spacemacs-evil/init-evil-lisp-state ()

0 commit comments

Comments
 (0)