Closed tuhdo closed 4 years ago
It seems that 4 keys is a lot but it is not in practice, the issue is that evil-lisp-state is meant to be used in Vim style, it has never been thought to be used in Emacs style.
In Vim style the user is most of the time in normal state
, then SPC k
can really be viewed as one keystroke once the muscle memory is done.
Once SPC k
is pressed we are in lisp state so it is not required anymore for the following manipulations.
What I want to experiment is to use Lispy but with the following changes:
SPC k
enter Lispy stateThere is a package that partly does this I believe, we should give it a try.
I like the idea of extending lispy with a more vi compliant key theme (which could be PRed upstream as a drop in alternative to the special
lispy key theme. Curious what is the package that partly does this?
This might be the package @syl20bnr was thinking of: https://github.com/bcarrell/evil-lispy
@syl20bnr suggested in chat that for holy-mode users we could have M-m k
toggle lispy. What do you all think of that?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!
Currently, getting into the lisp state takes too many keys (4 keys for Emacs to
C-c k <something>
). That's why I'm using Lispy. We can make it better:f/b/n/p
is enough. Slurp can be replaced with>
and barf with<
to free the key bindings.avy/ace
(we should removeace-jump-mode
really). In Lispy, I can pressq
to jump to any open parenthesis in current defun. It's really convenient.H
in current defun.lispy-knight-up
andlispy-knight-down
that allows me to jump up/down the next sexp on the next line. If the next sexp is a bigger scope, jump up to it. For example:Point is
[]
. When I uselispy-knight-up
, it jumps to the parenthesis atwhen
and when uselispy-knight-down
, it jump to the parenthesis on the next line.[
and]
should just jump to beginning and end of defun. It is currently unbound.e
to eval current sexp at current parentheses.holy-mode
, we should add a 2-keys binding i.eC-]
to get into lisp state quickly.