Open wazeerc opened 2 years ago
Yeah take a look at the bottom of this section of the Readme: https://github.com/zsh-users/zsh-autosuggestions#key-bindings
You can use ^I
to represent tab when calling bindkey
Yeah take a look at the bottom of this section of the Readme: https://github.com/zsh-users/zsh-autosuggestions#key-bindings
You can use
^I
to represent tab when calling bindkey
where would you put this binding? Is it in a specific file or just in an overrides.zsh in the $ZSH_CUSTOM
directory?
Yeah take a look at the bottom of this section of the Readme: https://github.com/zsh-users/zsh-autosuggestions#key-bindings You can use
^I
to represent tab when calling bindkeywhere would you put this binding? Is it in a specific file or just in an
overrides.zsh in the $ZSH_CUSTOM
directory?
Put it in ./zshrc (open it by running open ~/.zshrc
)
it would be like this, make sure it's below plugins.
plugins=(
zsh-autosuggestions
)
bindkey '^I' autosuggest-accept
Just wondering if there's the possibility to re bind the auto-complete button (which is the right arrow key by default) to Tab.