diff options
Diffstat (limited to 'share')
-rw-r--r-- | share/functions/fish_default_key_bindings.fish | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/share/functions/fish_default_key_bindings.fish b/share/functions/fish_default_key_bindings.fish index 63903f66..2fec74da 100644 --- a/share/functions/fish_default_key_bindings.fish +++ b/share/functions/fish_default_key_bindings.fish @@ -115,7 +115,10 @@ function fish_default_key_bindings -d "Default (Emacs-like) key bindings for fis bind \ep '__fish_paginate' # shift-tab does a tab complete followed by a search - bind --key btab complete-and-search + bind --key btab complete-and-search + + # escape cancels stuff + bind \e cancel # term-specific special bindings switch "$TERM" |