abo-abo / lispy

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

How do you use lispy in non-lisp modes? #344

Open Somelauw opened 7 years ago

Somelauw commented 7 years ago

I see that is some support for some non-lisp dialects such as Python and Julia. Do you have lispy enabled for these languages and if so, how do you work around the limitation that these languages don't always have spaces around their parentheses?

abo-abo commented 7 years ago

I extensively use lpy for Python. lpy is a derivative of lispy, except the special state is when the point is at bol or at the space right before the indentation.

lpy has been in development for almost a year, and even though Python is harder to parse than LISP, lpy is now in a pretty good state.

The support for Julia is only e and other eval-related commands.

Somelauw commented 7 years ago

@abo-abo thanks. I'll give lpy a try. By the way, you can probably also make the position after a ":" special.