Remove invalid trailing period in CSI u shift-space binding

This commit is contained in:
Guy Bolton King 2022-07-04 12:11:39 +01:00 committed by Johannes Altmanninger
parent 8082f8c056
commit 1f130fbfe1
2 changed files with 2 additions and 1 deletions

View File

@ -21,6 +21,7 @@ Interactive improvements
New or improved bindings
^^^^^^^^^^^^^^^^^^^^^^^^
- The :kbd:`Alt-H` binding will now show the manpage of the command under cursor instead of the always skipping ``sudo`` and the likes (:issue:`9020`).
- The :kbd:`Shift-Space` binding for CSI u now works correctly (:issue:`9054`).
Improved prompts
^^^^^^^^^^^^^^^^

View File

@ -188,7 +188,7 @@ function __fish_shared_key_bindings -d "Bindings shared between emacs and vi mod
# Ctrl-space inserts space without expanding abbrs
bind --preset $argv -k nul 'test -n "$(commandline)" && commandline -i " "'
# Shift-space (CSI u escape sequence) behaves like space because it's easy to mistype.
bind --preset $argv \e\[32\;2u 'commandline -i " "; commandline -f expand-abbr'.
bind --preset $argv \e\[32\;2u 'commandline -i " "; commandline -f expand-abbr'
bind --preset $argv \n execute