syl20bnr/evil-lisp-state

Most evil-lisp-state bindings undefined

bpstahlman opened this issue · 1 comments

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


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...)