From e066864eb3a468b64970107e880a2f3e16d67a37 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sun, 23 Mar 2025 04:21:39 +0300 Subject: 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. --- src/core-commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core-commands.c') 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. */ -- cgit v1.2.3