Restore Info-mode leader key

This commit is contained in:
Jeremy Dormitzer 2019-11-20 09:52:22 -05:00
parent f5959be58b
commit b0ed950247

View File

@ -148,6 +148,9 @@ A collection of evil bindings for various modes
(with-eval-after-load 'help
(general-def 'normal help-mode-map "SPC" leader-map))
(with-eval-after-load 'info
(general-def 'normal Info-mode-map "SPC" leader-map))
#+END_SRC
** Additional keybindings
@ -569,11 +572,6 @@ In some modes I want vanilla Emacs bindings:
(add-to-list 'evil-emacs-state-modes 'term-mode))
#+END_SRC
And in some modes I want to preserve the spacebar as a leader key:
#+BEGIN_SRC emacs-lisp
(general-def 'motion Info-mode-map "SPC" leader-map)
#+END_SRC
** Visual line navigation
#+BEGIN_SRC emacs-lisp
(general-def 'motion "j" #'evil-next-visual-line)