Johannes Altmanninger 6af96a81a8
Some checks are pending
make test / ubuntu (push) Waiting to run
make test / ubuntu-32bit-static-pcre2 (push) Waiting to run
make test / ubuntu-asan (push) Waiting to run
make test / macos (push) Waiting to run
Rust checks / rustfmt (push) Waiting to run
Rust checks / clippy (push) Waiting to run
Default bindings for token movement commands
There is no natural default binding for token movements. Add the
alt-{left,right,backspace,delete}, breaking some existing behavior.

For example, backward-delete-word is no longer bound to alt-backspace but
only to ctrl-backspace.  Unfortunately some terminals (particularly tmux)
don't support distinguishing ctrl-backspace from ctrl-h yet, so the loss
of alt-backspace may be tragic.

---

I guess we could also add:

    bind alt-B backward-token
    bind alt-F forward-token
    bind ctrl-W backward-kill-token
    bind alt-D kill-token

Those might be intercepted by the terminal on Linux, but I don't know where
that happens.

Tested on foot, kitty, alacritty, xterm, tmux, konsole and gnome-terminal.

Closes #10766
2024-10-13 14:53:45 +02:00
..
2019-05-05 12:09:25 +02:00
2023-04-26 19:38:10 +02:00
2019-05-05 12:09:25 +02:00
2020-11-22 14:39:48 +01:00
2024-06-24 14:30:37 -05:00
2022-06-08 21:23:43 +02:00
2022-08-02 00:42:37 -07:00
2022-01-27 16:21:22 -08:00
2022-01-27 16:21:22 -08:00
2024-04-15 08:31:16 +02:00
2021-12-02 02:22:40 -08:00
2023-12-25 18:46:23 +01:00
2023-06-01 18:20:19 +02:00
2022-01-27 16:21:22 -08:00
2022-04-23 16:35:52 -07:00