From c617946277c9e9381e354eb0fd173026f388578b Mon Sep 17 00:00:00 2001 From: t0xa Date: Tue, 23 Sep 2025 14:35:00 +0300 Subject: [PATCH] zsh: Bind ctrl-y to accept suggestions --- zsh/.zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zsh/.zshrc b/zsh/.zshrc index 7e03219..256201d 100755 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -60,6 +60,9 @@ export SYSTEMD_EDITOR=vim bindkey -v bindkey '^R' fzf_history_search +# Bind zsh-autosuggestions key +bindkey '^Y' autosuggest-accept + export PYENV_ROOT="$HOME/.pyenv" [[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH" eval "$(pyenv init - zsh)"