Johannes Altmanninger
107e4d11de
Fix Vi mode glitch when replacing at last character
...
Another regression from d51f669647 (Vi mode: avoid placing cursor beyond last
character, 2024-02-14) "Unfortunately Vi mode sometimes needs to temporarily
select past end". So do the replace_one mode bindings which were forgotten.
Fix this.
This surfaces a tricky problem: when we use something like
bind '' self-insert some-command
When key event "x" matches this generic binding, we insert both "self-insert"
and "some-command" at the front of the queue, and do *not* consume "x",
since the binding is empty.
Since there is a command (that might call "exit"), we insert a check-exit
event too, after "self-insert some-command" but _before_ "x".
The check-exit event makes "self-insert" do nothing. I don't think there's a
good reason for this; self-insert can only be triggered by a key event that
maps to self-insert; so there must always be a real key available for it to
consume. A "commandline -f self-insert" is a nop. Skip check-exit here.
Fixes #11484
2025-05-13 00:01:11 +02:00
..
2019-06-25 22:31:06 +02:00
2025-02-07 12:28:59 +01:00
2025-01-26 20:30:48 -08:00
2025-03-13 18:13:10 +01:00
2024-04-12 12:28:22 +02:00
2025-01-26 20:30:48 -08:00
2024-04-12 12:28:22 +02:00
2025-01-01 16:45:43 +01:00
2025-04-03 00:51:35 +02:00
2025-05-11 22:00:43 +02:00
2025-01-01 16:45:43 +01:00
2024-12-29 13:37:28 +01:00
2025-03-13 18:13:10 +01:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2025-01-01 16:45:43 +01:00
2025-04-11 17:29:22 +02:00
2025-01-01 16:45:43 +01:00
2025-03-19 18:26:11 +01:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2019-11-02 16:48:08 -07:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2025-01-15 11:18:46 +01:00
2024-04-12 12:28:22 +02:00
2025-05-11 12:46:08 +02:00
2025-01-11 21:13:19 +01:00
2025-01-01 16:45:43 +01:00
2025-05-11 12:46:08 +02:00
2024-08-24 08:30:52 +02:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2025-02-27 10:33:22 +08:00
2024-04-12 12:28:22 +02:00
2025-01-01 16:45:43 +01:00
2024-04-12 12:28:22 +02:00
2025-01-01 16:45:43 +01:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2025-01-01 16:45:43 +01:00
2025-01-19 18:47:28 +01:00
2024-04-12 12:28:22 +02:00
2025-03-13 18:13:10 +01:00
2025-05-04 18:19:42 +02:00
2025-01-01 16:45:43 +01:00
2025-01-01 16:45:43 +01:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2025-02-02 13:41:43 +01:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2024-06-06 16:47:39 +02:00
2025-01-01 16:45:43 +01:00
2024-04-12 12:28:22 +02:00
2024-05-25 13:20:05 +02:00
2024-05-06 17:00:45 +02:00
2025-04-11 17:29:22 +02:00
2025-04-11 17:29:22 +02:00
2025-03-25 11:16:18 +01:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2025-05-11 22:00:43 +02:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2025-01-01 16:45:43 +01:00
2025-04-18 20:22:30 +02:00
2025-01-01 16:45:43 +01:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2025-01-19 18:29:07 +01:00
2025-01-01 16:45:43 +01:00
2025-01-01 16:45:43 +01:00
2024-09-18 22:27:00 +02:00
2025-04-11 17:29:22 +02:00
2025-01-01 16:45:43 +01:00
2024-04-25 21:52:56 +02:00
2025-03-13 18:13:10 +01:00
2024-04-13 15:33:05 +02:00
2024-05-26 22:06:11 -05:00
2025-01-01 16:45:43 +01:00
2024-04-12 12:28:22 +02:00
2025-03-13 18:13:10 +01:00
2025-05-03 22:53:27 +02:00
2024-04-12 12:28:22 +02:00
2025-03-22 14:12:54 +01:00
2024-12-02 19:06:14 +01:00
2025-01-01 16:45:43 +01:00
2025-04-16 11:24:33 +02:00
2024-04-12 12:28:22 +02:00
2024-04-21 14:35:13 +02:00
2024-04-12 12:28:22 +02:00
2025-01-11 21:13:19 +01:00
2025-03-13 18:13:10 +01:00
2024-04-12 12:28:22 +02:00
2025-05-11 22:55:48 +02:00
2025-01-11 21:13:19 +01:00
2024-04-12 12:28:22 +02:00
2025-01-01 16:45:43 +01:00
2025-01-01 16:45:43 +01:00
2025-01-01 16:45:43 +01:00
2024-04-12 12:28:22 +02:00
2024-10-13 10:44:38 +02:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2025-01-01 16:45:43 +01:00
2025-04-11 15:11:22 +02:00
2024-04-12 12:28:22 +02:00
2025-04-29 13:31:13 +02:00
2025-05-01 14:57:30 +02:00
2025-02-02 13:41:43 +01:00
2025-03-13 18:13:10 +01:00
2024-04-21 14:25:54 +02:00
2024-04-21 14:25:54 +02:00
2024-04-12 12:28:22 +02:00
2025-03-13 18:13:10 +01:00
2025-04-02 01:05:51 +02:00
2025-01-17 09:58:26 +01:00
2025-01-15 10:52:43 +01:00
2024-04-12 12:28:22 +02:00
2025-03-08 13:12:38 +01:00
2025-02-16 11:44:43 -08:00
2024-12-30 10:50:38 +01:00
2025-02-04 10:12:30 +01:00
2025-02-16 13:02:23 -08:00
2025-01-11 18:58:49 +01:00
2025-01-08 19:10:38 +01:00
2025-02-21 17:46:26 +01:00
2025-02-06 19:12:00 +01:00
2025-03-21 00:53:06 +01:00
2025-01-31 13:37:27 +01:00
2025-02-01 09:25:53 +01:00
2025-01-19 18:29:07 +01:00
2024-04-19 12:05:27 +02:00
2025-04-16 11:22:14 +02:00
2025-05-13 00:01:11 +02:00
2025-05-04 12:50:12 +02:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2025-01-26 20:30:48 -08:00
2025-04-11 17:29:22 +02:00
2025-01-01 16:45:43 +01:00
2025-01-01 16:45:43 +01:00
2025-01-19 18:34:59 +01:00
2025-01-01 16:45:43 +01:00
2025-03-15 10:54:12 +01:00
2024-04-12 12:28:22 +02:00
2025-01-01 16:45:43 +01:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00