noctuid / lispyville

lispy + evil = lispyville

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Slurping/Barfing strings (" characters)

Hoekstraa opened this issue · comments

I've enjoyed using this mode so far, however I'd really like to be able to Slurp/Barf strings as well.
So support for " and ' characters would be grand.
I'm having a hard time finding where and how I could modify the set of allowed characters that can be Slurped/Barfed. And I understand that strings might require some extra work as it might be harder to discern which belong together compared to (,[,{ .
However, this is the biggest thing I've been missing and would love any info regarding this.

Lispyville is just using lispy for slurp/barf, and lispy does not support slurping and barfing with strings. It's unlikely lispyville will support this in the future unless lispy does. See abo-abo/lispy#305 There is a kind of workaround given there (unquoting then slurping a region and requoting), but it's not as quick

Ah, I see.
I feel stupid now for not digging a little deeper myself haha.
I'll try the methods described in the linked issue.
Thank you for the help!