aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/fish_default_key_bindings.fish
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-08-31 14:29:14 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-08-31 14:29:52 -0700
commit23ba7b5bfff9393d222cd8e4a045e3439e24aba1 (patch)
tree3d6291e4217ca118d7f47bd3388bc1ce42ca2eb1 /share/functions/fish_default_key_bindings.fish
parent173fd4fd23ea4212ec41184c28e723b2f5f56e13 (diff)
Support iTerm2 forward/backward word escapes
Diffstat (limited to 'share/functions/fish_default_key_bindings.fish')
-rw-r--r--share/functions/fish_default_key_bindings.fish2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/functions/fish_default_key_bindings.fish b/share/functions/fish_default_key_bindings.fish
index 3a9b4785..bebe3562 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