You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Action: Add DeleteSelections action and update default keybindings
This commit introduces a new `DeleteSelections` action that acts as a global check for active selections across all cursors.
If any selections exist, it deletes them and returns true, preventing subsequent chained actions from executing.
The default keybindings for `deleteWordLeft` (Alt-Backspace/Ctrl-H) have been updated to chain `DeleteSelections|DeleteWordLeft`.
This ensures predictable behavior in multi-cursor scenarios:
If any cursor has a selection, the "Delete Selection" behavior takes precedence over directional word deletion, preventing accidental deletion of adjacent text when selections are present.
0 commit comments