zsh-users / zsh-autosuggestions

Fish-like autosuggestions for zsh
MIT License
31.56k stars 1.88k forks source link

Ability to accept suggestions one character at a time #804

Open aleksandersumowski opened 2 months ago

aleksandersumowski commented 2 months ago

Is your feature request related to a problem? Please describe.

I frequently have histories entries that I need to reuse partially. Sometimes the difference starts in a block of characters not separated by any of the usual WORDCHARS. I could start typing the word myself, but just accepting the suggestion up till the point there is a difference would be more convenient

Describe the solution you'd like

forward-char accepting a single character of the suggestion

Describe alternatives you've considered

Changing WORDCHARS. But I want to keep ability to accept suggestions word at a time in other cases as well