There's already some basic support for multiple selections to help with managing Vim's counted inserts, and inserting around blockwise selections, but more work is needed for #32 in order to support Kakoune's editing style. To start with, I'm going to add:
SelectionAction::Duplicate to support duplicating selections onto adjacent lines (Kakoune's C and <A-C>)
SelectionAction::Trim to support shrinking selections so that they aren't selecting whitespace on their ends (Kakoune's _)
Enhance SelectionAction::Resize to handle more ways to resize existing selections
Allow for different ways of splitting existing selections into smaller ones
There's already some basic support for multiple selections to help with managing Vim's counted inserts, and inserting around blockwise selections, but more work is needed for #32 in order to support Kakoune's editing style. To start with, I'm going to add:
SelectionAction::Duplicate
to support duplicating selections onto adjacent lines (Kakoune'sC
and<A-C>
)SelectionAction::Trim
to support shrinking selections so that they aren't selecting whitespace on their ends (Kakoune's_
)SelectionAction::Resize
to handle more ways to resize existing selections