diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-12-13 14:29:00 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-12-13 14:29:00 +0300 |
commit | e2313a7023410bccaa7bfec2f5966a6591d75bdc (patch) | |
tree | 2c7a69ab7813ce1c8c3d39173c4f73f34f60afc3 /src/core-commands.c | |
parent | be36df018093bc3ccde34194beb611a8d87b890e (diff) | |
download | sciteco-e2313a7023410bccaa7bfec2f5966a6591d75bdc.tar.gz |
document the FK...$^SR idiom
* We don't actually have to negate ^S results after FK.
For deleting the matched pattern, you can use ^YD or -^SD.
Diffstat (limited to 'src/core-commands.c')
-rw-r--r-- | src/core-commands.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core-commands.c b/src/core-commands.c index 52b577d..89f86da 100644 --- a/src/core-commands.c +++ b/src/core-commands.c @@ -1990,6 +1990,8 @@ teco_state_control_last_range(teco_machine_main_t *ctx, GError **error) * * A common idiom \(lq^SC\(rq can be used for jumping to the * beginning of the matched pattern or inserted string. + * Since the result is always negative, you can use \(lq^SR\(rq + * to skip the matched pattern after \fBFK\fP. */ static void teco_state_control_last_length(teco_machine_main_t *ctx, GError **error) |