mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-27 06:31:19 -03:00
Advance pager history search with Control-R/Control-S
Note that every change to the search field still starts a new search, from the end of history. We could change this in future but it's unclear to me what the expected behavior is. I don't find the traditional readline behavior very intuitive.
This commit is contained in:
@@ -197,7 +197,7 @@ The following special input functions are available:
|
||||
from the current autosuggestion.
|
||||
|
||||
``history-pager``
|
||||
invoke the searchable pager on history (incremental search).
|
||||
invoke the searchable pager on history (incremental search); or if the history pager is already active, search further backwards in time.
|
||||
|
||||
``history-search-backward``
|
||||
search the history for the previous match
|
||||
@@ -252,7 +252,7 @@ The following special input functions are available:
|
||||
only execute the next function if the previous succeeded (note: only some functions report success)
|
||||
|
||||
``pager-toggle-search``
|
||||
toggles the search field if the completions pager is visible.
|
||||
toggles the search field if the completions pager is visible; or if used after ``history-pager``, search forwards in time.
|
||||
|
||||
``prevd-or-backward-word``
|
||||
if the commandline is empty, then move backward in the directory history, otherwise move one word to the left
|
||||
|
||||
Reference in New Issue
Block a user