From 23ba7b5bfff9393d222cd8e4a045e3439e24aba1 Mon Sep 17 00:00:00 2001 From: ridiculousfish <corydoras@ridiculousfish.com> Date: Sat, 31 Aug 2013 14:29:14 -0700 Subject: [PATCH] Support iTerm2 forward/backward word escapes (https://github.com/fish-shell/fish-shell/issues/920) --- share/functions/fish_default_key_bindings.fish | 2 ++ 1 file changed, 2 insertions(+) diff --git a/share/functions/fish_default_key_bindings.fish b/share/functions/fish_default_key_bindings.fish index 3a9b4785b..bebe3562c 100644 --- a/share/functions/fish_default_key_bindings.fish +++ b/share/functions/fish_default_key_bindings.fish @@ -74,6 +74,8 @@ function fish_default_key_bindings -d "Default (Emacs-like) key bindings for fis bind \ef forward-word bind \e\[1\;5C forward-word bind \e\[1\;5D backward-word + bind \e\[1\;9C forward-word #iTerm2 + bind \e\[1\;9D backward-word #iTerm2 bind \ed forward-kill-word bind -k ppage beginning-of-history bind -k npage end-of-history