mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 12:23:09 +00:00
Make alt-arrow in iTerm2 do the same thing as elsewhere
nextd-or-forward-word and such Fixes #1836
This commit is contained in:
parent
b0504f7739
commit
7bfad18ec7
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue