From 20d7179ce17f0cb42b842afb2faeb8c0a65fe0cd Mon Sep 17 00:00:00 2001 From: tiyn Date: Tue, 24 Oct 2023 06:56:54 +0200 Subject: [PATCH] zsh: added shortcut for autosuggest --- .config/zsh/.zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 42467dc..567054f 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -53,6 +53,7 @@ RPROMPT='%B%{$fg[blue]%}$vcs_info_msg_0_%{$reset_color%}%b' source /usr/share/zsh/plugins/zsh-autocomplete/zsh-autocomplete.plugin.zsh bindkey '\t' menu-select "$terminfo[kcbt]" menu-select bindkey -M menuselect '\t' menu-complete "$terminfo[kcbt]" reverse-menu-complete +bindkey -M menuselect '[C' autosuggest-accept zstyle ':autocomplete:*' list-lines 7 zstyle ':autocomplete:*' widget-style menu-select zle -A {.,}history-incremental-search-forward