From 0c413d00932cd0742a2cfc8db089626f1330750d Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Tue, 30 Apr 2024 19:41:02 +0200 Subject: [PATCH] Use canonical key name in bind command --- share/functions/__fish_shared_key_bindings.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/__fish_shared_key_bindings.fish b/share/functions/__fish_shared_key_bindings.fish index 52ccc85cf..989440d69 100644 --- a/share/functions/__fish_shared_key_bindings.fish +++ b/share/functions/__fish_shared_key_bindings.fish @@ -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