mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-01 21:21:15 -03:00
Bind pager-toggle-search to control-s by default.
This commit is contained in:
@@ -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).
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user