mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 21:44:16 +00:00
default_key_bindings: Added mappings for ctrl-arrow keys.
On debian and ubuntu these control sequences are output while using gnome-terminal and xterm.
This commit is contained in:
parent
f2ad4a2e8e
commit
164144f126
1 changed files with 2 additions and 0 deletions
|
@ -68,6 +68,8 @@ function fish_default_key_bindings -d "Default (Emacs-like) key bindings for fis
|
||||||
bind \e\x7f backward-kill-word
|
bind \e\x7f backward-kill-word
|
||||||
bind \eb backward-word
|
bind \eb backward-word
|
||||||
bind \ef forward-word
|
bind \ef forward-word
|
||||||
|
bind \e\[1\;5C forward-word
|
||||||
|
bind \e\[1\;5D backward-word
|
||||||
bind \ed forward-kill-word
|
bind \ed forward-kill-word
|
||||||
bind -k ppage beginning-of-history
|
bind -k ppage beginning-of-history
|
||||||
bind -k npage end-of-history
|
bind -k npage end-of-history
|
||||||
|
|
Loading…
Reference in a new issue