aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/fish_default_key_bindings.fish
diff options
context:
space:
mode:
authorGravatar Dylan Smith <dylan.ah.smith@gmail.com>2010-11-24 15:15:10 -0500
committerGravatar Grissiom <chaos.proton@gmail.com>2010-12-02 01:13:04 +0800
commit164144f1265b26446eafa16091e0eed9e2344a9d (patch)
treea1f17175eb5b6b20bf1e29c121131d012332db59 /share/functions/fish_default_key_bindings.fish
parentf2ad4a2e8e502091651d1d9861169e31b927ed01 (diff)
default_key_bindings: Added mappings for ctrl-arrow keys.
On debian and ubuntu these control sequences are output while using gnome-terminal and xterm.
Diffstat (limited to 'share/functions/fish_default_key_bindings.fish')
-rw-r--r--share/functions/fish_default_key_bindings.fish2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/functions/fish_default_key_bindings.fish b/share/functions/fish_default_key_bindings.fish
index f8e1edf4..a26387d4 100644
--- a/share/functions/fish_default_key_bindings.fish
+++ b/share/functions/fish_default_key_bindings.fish
@@ -68,6 +68,8 @@ function fish_default_key_bindings -d "Default (Emacs-like) key bindings for fis
bind \e\x7f backward-kill-word
bind \eb backward-word
bind \ef forward-word
+ bind \e\[1\;5C forward-word
+ bind \e\[1\;5D backward-word
bind \ed forward-kill-word
bind -k ppage beginning-of-history
bind -k npage end-of-history