aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/fish_default_key_bindings.fish
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-01-27 00:56:13 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-01-27 00:56:13 -0800
commit5be3606236bd2185d93162fcad097d8c30f84885 (patch)
tree8c908ae055c8658d0d9124bec837ac138f3be374 /share/functions/fish_default_key_bindings.fish
parentce4c145f1c6ca1e6e2171d5e6f0a9b423f6fb9a6 (diff)
Increased support for completion search field. Use btab (shift-tab) to
complete-and-search.
Diffstat (limited to 'share/functions/fish_default_key_bindings.fish')
-rw-r--r--share/functions/fish_default_key_bindings.fish4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/functions/fish_default_key_bindings.fish b/share/functions/fish_default_key_bindings.fish
index a03faaba..63903f66 100644
--- a/share/functions/fish_default_key_bindings.fish
+++ b/share/functions/fish_default_key_bindings.fish
@@ -114,6 +114,9 @@ function fish_default_key_bindings -d "Default (Emacs-like) key bindings for fis
# This will make sure the output of the current command is paged using the less pager when you press Meta-p
bind \ep '__fish_paginate'
+ # shift-tab does a tab complete followed by a search
+ bind --key btab complete-and-search
+
# term-specific special bindings
switch "$TERM"
case 'rxvt*'
@@ -122,3 +125,4 @@ function fish_default_key_bindings -d "Default (Emacs-like) key bindings for fis
bind \eOd backward-word
end
end
+