mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00: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
2 changed files with 2 additions and 1 deletions
|
@ -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 a new issue