mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-12-08 15:32:31 +01:00
Add autosuggest-next and autosuggest-previous widgets; enhance async suggestion handling
This commit is contained in:
parent
85919cd1ff
commit
bf5d77a65f
11 changed files with 629 additions and 87 deletions
|
|
@ -109,9 +109,11 @@ This plugin provides a few widgets that you can use with `bindkey`:
|
|||
2. `autosuggest-execute`: Accepts and executes the current suggestion.
|
||||
3. `autosuggest-clear`: Clears the current suggestion.
|
||||
4. `autosuggest-fetch`: Fetches a suggestion (works even when suggestions are disabled).
|
||||
5. `autosuggest-disable`: Disables suggestions.
|
||||
6. `autosuggest-enable`: Re-enables suggestions.
|
||||
7. `autosuggest-toggle`: Toggles between enabled/disabled suggestions.
|
||||
5. `autosuggest-next`: Cycles to the next available suggestion for the current buffer (wraps around).
|
||||
6. `autosuggest-previous`: Cycles backward through the available suggestions (wraps around).
|
||||
7. `autosuggest-disable`: Disables suggestions.
|
||||
8. `autosuggest-enable`: Re-enables suggestions.
|
||||
9. `autosuggest-toggle`: Toggles between enabled/disabled suggestions.
|
||||
|
||||
For example, this would bind <kbd>ctrl</kbd> + <kbd>space</kbd> to accept the current suggestion.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue