Could we ignore widget `forward-char` to accept a suggestion? #123

Closed
hitripod opened this Issue Feb 22, 2016 · 2 comments

2 participants

@hitripod

In some cases, I typed forward-char to step ahead char-by-char to accept partial suggestion.

For example, I first type cd and then the suggesstion shown up is cd ~/.zsh/zsh-autosuggestions. In this case, if the directory I really want to change to is ~/.zsh, only thing I can do is type every chars instead of using forward-char.

Could we ignore widget forward-char to accept a suggestion?

ZSH_AUTOSUGGEST_ACCEPT_WIDGETS=(
-   forward-char
    end-of-line
-   vi-forward-char
    vi-end-of-line
)
@ericfreese
zsh-users member

See my comment here to configure the forward-char widget to partially accept the suggestion. I'd like to keep forward-char accepting the suggestion by default as it does in the fish shell.

@ericfreese ericfreese closed this Feb 22, 2016
@hitripod

Understood, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment