Closed Consolatis closed 5 years ago
Here's how I would proceed with your use case (with the suplemon limitations):
Basically the idea here is, that since we can't make selections within lines, we move what we want to its own line. The it can be cut/copied and after that the lines can be joined back to what they were before.
If we had real selections this would be so much easier... :thinking:
press ESC and find "):" and select all
Yes one can return to single cursor mode and create a new set of multi cursors. Personally, I'd prefer a find like feature (which doesn't create new cursors) which works for multiple cursors though.
Afaik sublime doesn't do this either so closing for now. It might be done in the future.
Or provide a second function like find which works for multi cursor. That would actually be more useful because then find can still be used to create multiple cursors.
e.g. if we have following code:
Target: convert it into a format like (last line as example)
add("shift", "backspace", "s-c127")
That is, move "backspace" to be the second last parameter and replace "_fmt" by "add" and "):" by "," and ",$" by ")".Edit: Just recognized I don't need to move the parameter at all, but the same issue exists for converting "):" to "," and it would generally be a useful feature to have.