Bind pager-toggle-search to control-s by default.

This commit is contained in:
ridiculousfish 2018-01-30 09:40:17 -08:00
parent d0d7bb75cd
commit c4a12f90c1
2 changed files with 2 additions and 1 deletions

View file

@ -33,7 +33,7 @@ This section is for changes merged to the `major` branch that are not also merge
- `funced` now has a `-s` and `--save` option to automatically save the edited function after successfully editing (#4668).
- Arguments to `end` are now errors, instead of being silently ignored.
- Pager navigation has been improved. Most notably, moving down now wraps around, moving up from the commandline now jumps to the last element and moving right and left now reverse each other even when wrapping around (#4680).
- A new input binding `pager-toggle-search` toggles the search field in the completions pager on and off.
- A new input binding `pager-toggle-search` toggles the search field in the completions pager on and off. By default this is bound to control-s.
## Other significant changes
- Command substitution output is now limited to 10 MB by default (#3822).

View file

@ -31,6 +31,7 @@ function __fish_shared_key_bindings -d "Bindings shared between emacs and vi mod
bind $argv \e cancel
bind $argv \t complete
bind $argv \cs pager-toggle-search
# shift-tab does a tab complete followed by a search.
bind $argv --key btab complete-and-search