mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-08 01:55:00 +08:00
default key bindings: ignore FocusIn/FocusOut control sequences
Closes #1917.
This commit is contained in:
parent
53a4814d8b
commit
028d9e8e3b
|
@ -124,6 +124,11 @@ function fish_default_key_bindings -d "Default (Emacs-like) key bindings for fis
|
||||||
# escape cancels stuff
|
# escape cancels stuff
|
||||||
bind \e cancel
|
bind \e cancel
|
||||||
|
|
||||||
|
# Ignore some known-bad control sequences
|
||||||
|
# https://github.com/fish-shell/fish-shell/issues/1917
|
||||||
|
bind \e\[I 'begin;end'
|
||||||
|
bind \e\[O 'begin;end'
|
||||||
|
|
||||||
# term-specific special bindings
|
# term-specific special bindings
|
||||||
switch "$TERM"
|
switch "$TERM"
|
||||||
case 'rxvt*'
|
case 'rxvt*'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user