mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 22:17:52 +08: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
|
@ -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 New Issue
Block a user