aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--share/functions/fish_default_key_bindings.fish5
1 files changed, 5 insertions, 0 deletions
diff --git a/share/functions/fish_default_key_bindings.fish b/share/functions/fish_default_key_bindings.fish
index 120a3573..8d231e41 100644
--- a/share/functions/fish_default_key_bindings.fish
+++ b/share/functions/fish_default_key_bindings.fish
@@ -124,6 +124,11 @@ function fish_default_key_bindings -d "Default (Emacs-like) key bindings for fis
# escape cancels stuff
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
switch "$TERM"
case 'rxvt*'