mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-01 10:11:14 -03:00
Token search commands that only match the last token in each line
This add two commands history-last-token-search-backward and history-last-token-search-forward which behaves like bash's yank-last-arg. So similar to history-token-search-* but only considers the last argument for each command. Closes #10756 Closes #11258
This commit is contained in:
committed by
Johannes Altmanninger
parent
48306409ef
commit
4ce552bf94
@@ -265,6 +265,12 @@ The following special input functions are available:
|
||||
``history-token-search-forward``
|
||||
search the history for the next matching argument
|
||||
|
||||
``history-last-token-search-backward``
|
||||
search the history for the previous matching last argument
|
||||
|
||||
``history-last-token-search-forward``
|
||||
search the history for the next matching last argument
|
||||
|
||||
``forward-jump`` and ``backward-jump``
|
||||
read another character and jump to its next occurrence after/before the cursor
|
||||
|
||||
|
||||
Reference in New Issue
Block a user