mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-03-26 04:57:45 +01:00
zsh: added shortcut for autosuggest
This commit is contained in:
parent
8a3965e608
commit
20d7179ce1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user