mawww / kakoune

mawww's experiment for a better code editor
http://kakoune.org
The Unlicense
9.9k stars 713 forks source link

Structural regular expression support #677

Closed bb010g closed 8 years ago

bb010g commented 8 years ago

Described here, and implemented in a vi-like editor here: martanne/vis. Even if it's just a config option, I think having them available would be very nice.

mawww commented 8 years ago

Hello,

By its design, Kakoune already supports structural regex, although with the difference that edition are always sequential.

s selects matches of the given regex in the current selections, S splits the current selections based on the given regex, keeps selections if they contain a match for a given regex and if they dont.

Is there a particular structural regex feature we dont have ?

Cheers