From 053acf5c6b13e6f825db3b0cbb354e17c6135530 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Sun, 11 Apr 2021 20:39:54 +0200 Subject: [PATCH] bind ctrl-space only as a *preset* binding Fixes #7922 --- share/functions/fish_default_key_bindings.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/fish_default_key_bindings.fish b/share/functions/fish_default_key_bindings.fish index c24bfc81d..4f28ded5c 100644 --- a/share/functions/fish_default_key_bindings.fish +++ b/share/functions/fish_default_key_bindings.fish @@ -42,7 +42,7 @@ function fish_default_key_bindings -d "Default (Emacs-like) key bindings for fis # Closing a command substitution expands abbreviations bind --preset $argv ")" self-insert expand-abbr # Ctrl-space inserts space without expanding abbrs - bind -k nul 'commandline -i " "' + bind --preset $argv -k nul 'commandline -i " "' bind --preset $argv \n execute