mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-27 23:11:15 -03:00
reader: Return true if suppress-autosuggestion suppressed
This allows bind -k backspace suppress-autosuggestion or backward-delete-char To remove the suggestion on the first press and then delete chars. Note: This requires that we then don't reenable suggestions immediately afterwards. Currently we don't after deletion. Fixes #1419.
This commit is contained in:
@@ -174,7 +174,7 @@ The following special input functions are available:
|
||||
|
||||
- ``self-insert-notfirst``, inserts the matching sequence into the command line, unless the cursor is at the beginning
|
||||
|
||||
- ``suppress-autosuggestion``, remove the current autosuggestion
|
||||
- ``suppress-autosuggestion``, remove the current autosuggestion. Returns true if there was a suggestion to remove.
|
||||
|
||||
- ``swap-selection-start-stop``, go to the other end of the highlighted text without changing the selection
|
||||
|
||||
|
||||
Reference in New Issue
Block a user