diff --git a/README.md b/README.md index 3bc4917b..0d9218e6 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,8 @@ Works out of the box with zero configuration, but also supports `zsh-z`, `zoxide | ShiftTab | Accept bottom completion | | CtrlSpace | Multi-select | | Enter | Accept command line | +| CtrlR | Full text search / Previous search match | +| CtrlS | Full text search / Next search match | ### History Menu | Key(s) | Action | diff --git a/module/.autocomplete.async b/module/.autocomplete.async index e4bd53d6..8cf53d84 100644 --- a/module/.autocomplete.async +++ b/module/.autocomplete.async @@ -12,8 +12,6 @@ typeset -g ZSH_AUTOSUGGEST_USE_ASYNC=yes zle -N history-incremental-search-backward .autocomplete.async.history-incremental-search zle -N history-incremental-search-forward .autocomplete.async.history-incremental-search -bindkey -s -M menuselect '^R' '^G^R' -bindkey -s -M menuselect '^S' '^G^S' .autocomplete.async.precmd() { typeset -gHF _autocomplete__async_avg_duration diff --git a/zsh-autocomplete.plugin.zsh b/zsh-autocomplete.plugin.zsh index 74a6a7f8..78215e58 100644 --- a/zsh-autocomplete.plugin.zsh +++ b/zsh-autocomplete.plugin.zsh @@ -1,6 +1,6 @@ #!/bin/zsh -setopt NO_singlelinezle +setopt NO_flowcontrol NO_singlelinezle () { emulate -L zsh -o NO_aliases zmodload -Fa zsh/parameter p:functions