-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Example scenario
Take the following text
I want to select these at the same time
statustext="Unauthorized"statustext="Internal Server Error"
I start by double clicking statustext for first tag then hitting ctrl + d followed by shift + right arrow twice
- This should select
statustext="for both lines
I then hit ctrl + k followed by " (AKA shift + ')
- this selects the inside content of both but it loses the previous selection
- so this is selected
UnauthorizedInternal Server Error
- but i would like a way to make it so that this is selected instead (AKA expand so previous selection is included)
statustext="Unauthorizedstatustext="Internal Server Error
- so this is selected
Then i would just have to do a shift + right arrow once more to complete the selection for both.
Possible resolutions
-
I feel like the most user friendly way to accomplish this do this would be to allow the user to extend the selection by doing
ctrl + kfollowed by +ctrl + shift + ' -
if that's not possible maybe maybe
ctrl + kfor normal selections andctrl+lfor extension selections? (exceptctrl + l) i think already has a shortcut binding so prob would need to use another. But idk if it's possible to have multiple separate modifier type shortcut key bindings the wayctrl + kworks. If not then this also prob won't work -
is it possible to make a 3 way binding like
ctrl + k+shift + e+shift + 'so this would be like entering shift e to exten selection and thenshift + 'to select between" -
if that's not possible maybe worst case we allow random bindings for extend selections. so like
ctrl + k+ctrl+uexpands selection to inclode content between" -
of course if you can think of other ways to accomplish this it would also be really nice.