lispy icon indicating copy to clipboard operation
lispy copied to clipboard

lispy-forward treats atoms and lists differently

Open Wilfred opened this issue 5 years ago • 1 comments

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?

Wilfred avatar Oct 21 '18 14:10 Wilfred

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

notmgsk avatar Jul 26 '20 02:07 notmgsk