bind ctrl-space only as a *preset* binding

Fixes #7922
This commit is contained in:
Fabian Homborg 2021-04-11 20:39:54 +02:00
parent d31d7e4880
commit 053acf5c6b

View File

@ -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