abo-abo / lispy

Short and sweet LISP editing
http://oremacs.com/lispy/
1.2k stars 132 forks source link

lispy-forward treats atoms and lists differently #459

Open Wilfred opened 5 years ago

Wilfred commented 5 years ago

I use ] extensively for stepping over expressions, but it treats atoms differently from lists. For example,

(foo
 |bar
 baz)

here lispy-forward moves point to the closing ). I was expecting point to be at the end of bar. However, in this case:

(foo
 |(bar)
 baz)

lispy-forward puts point on the end of the line.

Is this intentional behaviour? I see that lispy-forward is bound to C-M-f in lispy-mode-map-paredit, but paredit-forward has the behaviour I expected.

Is this functionality available as a different lispy command (I couldn't see any), or something you'd be willing to change or make customisable?

notmgsk commented 4 years ago

I don't think it exists in lispy because it exists as a standard emacs command: forward-sexp.