Use canonical key name in bind command

This commit is contained in:
Johannes Altmanninger 2024-04-30 19:41:02 +02:00
parent 5871deeee5
commit 0c413d0093

View file

@ -105,7 +105,7 @@ function __fish_shared_key_bindings -d "Bindings shared between emacs and vi mod
or exit # protect against invalid $argv
# Space and other command terminators expands abbrs _and_ inserts itself.
bind --preset $argv " " self-insert expand-abbr-backtrack
bind --preset $argv space self-insert expand-abbr-backtrack
bind --preset $argv ";" self-insert expand-abbr-backtrack
bind --preset $argv "|" self-insert expand-abbr-backtrack
bind --preset $argv "&" self-insert expand-abbr-backtrack