mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 09:28:31 +08:00
Remove invalid trailing period in CSI u shift-space binding
(cherry picked from commit 1f130fbfe1
)
This commit is contained in:
parent
a6898467ab
commit
47d45f49e4
|
@ -4,6 +4,7 @@ fish 3.5.1 (released ???)
|
|||
This release of fish fixes the following problems identified in fish 3.5.0:
|
||||
|
||||
- A change in the completion script for ``git`` caused problems when completing ``git blame`` or ``git -C``, which has been fixed (:issue:`9053`).
|
||||
- On terminals that emit a CSI u sequence for :kbd:`Shift-Space`, fish inserts a space instead of printing an error. (:issue:`9054`).
|
||||
|
||||
--------------
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user