fish-shell/share
Johannes Altmanninger 6af96a81a8 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
..
completions completions/set: Complete variables of all scopes when setting 2024-10-03 11:46:17 +02:00
functions Default bindings for token movement commands 2024-10-13 14:53:45 +02:00
groff workaround broken groff man page config 2016-10-19 13:43:04 -07:00
tools webconfig: Add missing highlighting vars 2024-10-05 16:30:58 +02:00
__fish_build_paths.fish.in Rename "snippets" to "conf" internally, and document them as snippets 2016-04-06 09:33:09 +08:00
config.fish Move generated completions to cache directory 2024-04-27 10:39:30 +02:00