diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-03-23 04:21:39 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-03-23 04:36:37 +0300 |
commit | e066864eb3a468b64970107e880a2f3e16d67a37 (patch) | |
tree | 720e192976a6e610cf233521e08645a3a8e3b3a9 /src/core-commands.c | |
parent | 064f05f7f651f84fe31b4d65eefac22b80309190 (diff) | |
download | sciteco-e066864eb3a468b64970107e880a2f3e16d67a37.tar.gz |
the ^W immediate editing command now mimics `Y` more closely and also rubs out no-op commands (whitespace)
* In string arguments, ^W first rubs out non-word chars (usually whitespace),
so it makes sense if ^W would work analogously at the command level.
A non-command would be one of the no-ops.
Diffstat (limited to 'src/core-commands.c')
-rw-r--r-- | src/core-commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core-commands.c b/src/core-commands.c index 4abf38b..950127a 100644 --- a/src/core-commands.c +++ b/src/core-commands.c @@ -671,7 +671,7 @@ teco_state_start_input(teco_machine_main_t *ctx, gunichar chr, GError **error) switch (chr) { /* - * No-ops: + * No-ops (same as TECO_NOOPS): * These are explicitly not handled in teco_state_control, * so that we can potentially reuse the upcaret notations like ^J. */ |