aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/fish_default_key_bindings.fish
diff options
context:
space:
mode:
authorGravatar Fabian Homborg <FHomborg@gmail.com>2015-08-25 13:49:40 +0200
committerGravatar Fabian Homborg <FHomborg@gmail.com>2015-08-25 13:49:40 +0200
commit7bfad18ec78d5fe559d71062afeb31b513c1e9f1 (patch)
treee7ac21c2da27dc46f133c0f6cce6be3de3dd8464 /share/functions/fish_default_key_bindings.fish
parentb0504f773903a40f20f6b3db78248796e4b60d7d (diff)
Make alt-arrow in iTerm2 do the same thing as elsewhere
nextd-or-forward-word and such Fixes #1836
Diffstat (limited to 'share/functions/fish_default_key_bindings.fish')
-rw-r--r--share/functions/fish_default_key_bindings.fish4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/functions/fish_default_key_bindings.fish b/share/functions/fish_default_key_bindings.fish
index 8d3683c7..c1e5719b 100644
--- a/share/functions/fish_default_key_bindings.fish
+++ b/share/functions/fish_default_key_bindings.fish
@@ -89,8 +89,8 @@ function fish_default_key_bindings -d "Default (Emacs-like) key bindings for fis
bind $argv \e\[1\;5D backward-word
bind $argv \e\[1\;9A history-token-search-backward # iTerm2
bind $argv \e\[1\;9B history-token-search-forward # iTerm2
- bind $argv \e\[1\;9C forward-word #iTerm2
- bind $argv \e\[1\;9D backward-word #iTerm2
+ bind $argv \e\[1\;9C nextd-or-forward-word #iTerm2
+ bind $argv \e\[1\;9D prevd-or-backward-word #iTerm2
# Bash compatibility
# https://github.com/fish-shell/fish-shell/issues/89
bind $argv \e. history-token-search-backward