mawww / kakoune

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

Change the behavior of 'S' to diff with the previous selection set #2848

Open alexherbo2 opened 5 years ago

alexherbo2 commented 5 years ago

Instead of S{regex}<ret>s{regex}<ret>S. It could make the split feature better composable.

https://github.com/alexherbo2/split-object.kak/issues/2#issuecomment-482095782

losnappas commented 5 years ago

I like this because I'm having a hell of a time trying to remember which key (s/S) does which.

Though even with this, shouldn't it be <a-s> because it doesn't extend but rather cuts down? Gets confusing. Maybe C should do what <a-s> does , to keep it consistent. C does nothing with multiline selection now, as far as I can tell.