From 028d9e8e3bfb896743b6eac698e0a2efad3186ae Mon Sep 17 00:00:00 2001 From: David Adam Date: Fri, 30 Jan 2015 16:01:25 +0800 Subject: [PATCH] default key bindings: ignore FocusIn/FocusOut control sequences Closes #1917. --- share/functions/fish_default_key_bindings.fish | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/share/functions/fish_default_key_bindings.fish b/share/functions/fish_default_key_bindings.fish index 120a35731..8d231e41c 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*'