diff options
author | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2015-01-30 16:01:25 +0800 |
---|---|---|
committer | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2015-01-30 16:01:25 +0800 |
commit | 028d9e8e3bfb896743b6eac698e0a2efad3186ae (patch) | |
tree | 18ce6ffafd78e13acbe83d2da725f094f8c59ce4 /share/functions/fish_default_key_bindings.fish | |
parent | 53a4814d8b0481e4b6e6b3ccac69c7f002d9f8a1 (diff) |
default key bindings: ignore FocusIn/FocusOut control sequences
Closes #1917.
Diffstat (limited to 'share/functions/fish_default_key_bindings.fish')
-rw-r--r-- | share/functions/fish_default_key_bindings.fish | 5 |
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*' |