syl20bnr / evil-lisp-state

An evil state to navigate Lisp code and modify it with smartparens
GNU General Public License v3.0
91 stars 26 forks source link

Most evil-lisp-state bindings undefined #31

Closed bpstahlman closed 8 years ago

bpstahlman commented 8 years ago

Here's the relevant config from my ~/.emacs.

(require 'evil-lisp-state)
(setq evil-lisp-state-global t)
(evil-lisp-state-leader ",") 

I can get into lisp mode with `, .', but when I attempt to use a command like wrap or slurp, I get an error: w is undefined s is undefined

C-h b shows only the bindings listed below. It appears that the vast majority of evil-lisp-state bindings are not defined. Any ideas?

Thanks, Brett S.

`evil-lisp-state-local-minor-mode' Minor Mode Bindings:
key             binding
---             -------

`evil-lisp-state-minor-mode' Minor Mode Bindings:
key             binding
---             -------

.       lisp-state-toggle-lisp-state
h       evil-backward-char
j       evil-next-visual-line
k       evil-previous-visual-line
l       evil-forward-char
<escape>    evil-lisp-state/quit
<remap>     Prefix Command
bpstahlman commented 8 years ago

I figured it out. I was setting evil-lisp-state-global after sourcing the script, so the commands were available only in emacs-lisp mode. (Strangely, I thought I'd also tried using them in emacs-lisp mode, but apparently not...)