diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-28 16:29:36 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:15 -0300 |
| commit | 79cdf76fd2dd0ba03622bfe742b525b770d51684 (patch) | |
| tree | 8f0d73a0dfdb3f39839d0b5be9dff9af0473638a /docs/selections.md | |
| parent | 7ce5d94b5d48b68c86d015060ebcabe63e299e1a (diff) | |
| download | pardes-79cdf76fd2dd0ba03622bfe742b525b770d51684.tar.gz pardes-79cdf76fd2dd0ba03622bfe742b525b770d51684.zip | |
K and Alt-K keep or drop the ranges a regex matches in; Alt-: turns every range forward
K and Alt-K share the s/S prompt, which now carries a mode rather than a
split flag: a range stays when a match starts inside it (K) or when none does
(Alt-K), the primary becomes the first, and keeping none leaves the selection
as it was (helix keep_or_remove_matches). Alt-: is ensure_selections_forward.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'docs/selections.md')
| -rw-r--r-- | docs/selections.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/selections.md b/docs/selections.md index 59c4415b..203cf1de 100644 --- a/docs/selections.md +++ b/docs/selections.md @@ -44,6 +44,8 @@ range and drops the others. per line), `<n>o`/`<n>O`, and `Alt-J` (the spaces a join put in). `s`/`S` re-run on every keystroke from the selection the prompt opened on (`Pane.sel_snap`); Esc is that snapshot restored. +- `K`/`Alt-K` keep or drop the ranges a regex matches in, on the `s` prompt; + `Alt-:` turns every range forward. - `Alt-minus` merges all into one, `Alt-_` the consecutive ones, `_` trims whitespace (dropping all-blank ranges). - `)`/`(` rotate which range is primary; `Alt-)`/`Alt-(` rotate the TEXT |
