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
The following command is useless if there is only one cursor with no selection:
Key
Description
Command
s
Select all regex matches inside selections
select_regex
S
Split selection into subselections on regex matches
split_selection
We could make a "smart selection commands" that auto select the whole file when using these two commands if there is only one cursor with no selection, saving 2 keypress when user want to select all regex inside file (a very common operation):
From Shift + 5 ; s = 3.
To s = 1.
The downside:
Inconsistent: because w, b, e ... create a selection, if user try to select all regex inside file right after those keypress, it will just select regex matches inside selection.
This discussion was converted from issue #1644 on April 26, 2024 03:13.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The following command is useless if there is only one cursor with no selection:
select_regex
split_selection
We could make a "smart selection commands" that auto select the whole file when using these two commands if there is only one cursor with no selection, saving 2 keypress when user want to select all regex inside file (a very common operation):
The downside:
Beta Was this translation helpful? Give feedback.
All reactions