From 164144f1265b26446eafa16091e0eed9e2344a9d Mon Sep 17 00:00:00 2001 From: Dylan Smith Date: Wed, 24 Nov 2010 15:15:10 -0500 Subject: [PATCH] default_key_bindings: Added mappings for ctrl-arrow keys. On debian and ubuntu these control sequences are output while using gnome-terminal and xterm. --- share/functions/fish_default_key_bindings.fish | 2 ++ 1 file changed, 2 insertions(+) diff --git a/share/functions/fish_default_key_bindings.fish b/share/functions/fish_default_key_bindings.fish index f8e1edf49..a26387d40 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