Use C-SPC in non-normal mode (also insert) for leader

This commit is contained in:
Charlotte Van Petegem 2021-04-07 10:53:30 +02:00
parent 576e6bdc23
commit 70b1fabda2
No known key found for this signature in database
GPG key ID: 019E764B7184435A

View file

@ -17,7 +17,11 @@
(general-evil-setup t)
;; Create bindings under the leader
(general-create-definer lmap :states '(normal visual emacs motion) :prefix "SPC")
(general-create-definer lmap
:states '(normal visual insert emacs motion)
:prefix "SPC"
:non-normal-prefix "C-SPC"
)
(lmap
"" nil ;; Unbind SPC, I don't use it for navigation anyway.