mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-11-18 09:51:06 +01:00
Suspend autosuggest on 'history-substring-search-up' and 'history-substring-search-down' (zsh-history-substring-plugin commands). Accept on 'end-of-line' (Ctrl-e or END key)
This commit is contained in:
parent
a29e838cdf
commit
7e69ddda7f
1 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ ZLE_AUTOSUGGEST_SUSPEND_WIDGETS=(
|
||||||
vi-cmd-mode vi-backward-char backward-char backward-word beginning-of-line
|
vi-cmd-mode vi-backward-char backward-char backward-word beginning-of-line
|
||||||
history-search-forward history-search-backward up-line-or-history
|
history-search-forward history-search-backward up-line-or-history
|
||||||
history-beginning-search-forward history-beginning-search-backward
|
history-beginning-search-forward history-beginning-search-backward
|
||||||
down-line-or-history
|
down-line-or-history history-substring-search-up history-substring-search-down
|
||||||
)
|
)
|
||||||
|
|
||||||
ZLE_AUTOSUGGEST_COMPLETION_WIDGETS=(
|
ZLE_AUTOSUGGEST_COMPLETION_WIDGETS=(
|
||||||
|
@ -42,7 +42,7 @@ accept-and-menu-complete
|
||||||
|
|
||||||
ZLE_AUTOSUGGEST_ACCEPT_WIDGETS=(
|
ZLE_AUTOSUGGEST_ACCEPT_WIDGETS=(
|
||||||
vi-forward-char forward-char vi-forward-word forward-word vi-add-eol
|
vi-forward-char forward-char vi-forward-word forward-word vi-add-eol
|
||||||
vi-add-next vi-forward-blank-word
|
vi-add-next vi-forward-blank-word end-of-line
|
||||||
)
|
)
|
||||||
|
|
||||||
autosuggest-pause() {
|
autosuggest-pause() {
|
||||||
|
|
Loading…
Reference in a new issue