Tweak general config mention (#219)

This commit is contained in:
James Nguyen 2019-01-06 14:26:45 -08:00
parent 88b083b5b0
commit 8507287931
1 changed files with 3 additions and 2 deletions

View File

@ -554,7 +554,7 @@ more.
#+begin_src emacs-lisp :tangle yes #+begin_src emacs-lisp :tangle yes
(use-package general (use-package general
:ensure t :ensure t
:config :init
(setq general-override-states '(insert (setq general-override-states '(insert
emacs emacs
hybrid hybrid
@ -563,11 +563,12 @@ more.
motion motion
operator operator
replace)) replace))
(general-override-mode) :config
(general-define-key (general-define-key
:states '(normal visual motion) :states '(normal visual motion)
:keymaps 'override :keymaps 'override
"SPC" 'hydra-space/body)) "SPC" 'hydra-space/body))
;; Replace 'hydra-space/body with your leader function.
#+end_src #+end_src
See [[https://github.com/noctuid/evil-guide][noctuid's evil guide]] for other approaches. See [[https://github.com/noctuid/evil-guide][noctuid's evil guide]] for other approaches.