Modify evil-lion config
- Adjust keys not to collide with evil-little-word - Add documentation
This commit is contained in:
parent
3661ac1937
commit
5290456304
|
@ -2689,6 +2689,8 @@ Text related commands (start with ~x~):
|
|||
| ~SPC x a =~ | align region at = |
|
||||
| ~SPC x a a~ | align region (or guessed section) using default rules |
|
||||
| ~SPC x a c~ | align current indentation region using default rules |
|
||||
| ~SPC x a l~ | left-align with evil-lion |
|
||||
| ~SPC x a L~ | right-align with evil-lion |
|
||||
| ~SPC x a r~ | align region using user-specified regexp |
|
||||
| ~SPC x a m~ | align region at arithmetic operators (+-*/) |
|
||||
| ~SPC x a ¦~ | align region at ¦ |
|
||||
|
|
|
@ -101,7 +101,15 @@
|
|||
|
||||
(defun spacemacs-evil/init-evil-lion ()
|
||||
(use-package evil-lion
|
||||
:init (evil-lion-mode)))
|
||||
:init
|
||||
(progn
|
||||
;; Override the default keys, as they collide
|
||||
(setq evil-lion-left-align-key nil
|
||||
evil-lion-right-align-key nil)
|
||||
(spacemacs/set-leader-keys
|
||||
"xal" 'evil-lion-left
|
||||
"xaL" 'evil-lion-right)
|
||||
(evil-lion-mode))))
|
||||
|
||||
(defun spacemacs-evil/init-evil-lisp-state ()
|
||||
(use-package evil-lisp-state
|
||||
|
|
Loading…
Reference in New Issue