mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-23 11:15:14 +08:00
Support iTerm2 forward/backward word escapes
(https://github.com/fish-shell/fish-shell/issues/920)
This commit is contained in:
parent
173fd4fd23
commit
23ba7b5bff
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user