Skip to content

Commit

Permalink
Update the ^R and ^S overrides for zsh-autocomplete
Browse files Browse the repository at this point in the history
  • Loading branch information
raxod502 committed Dec 15, 2023
1 parent 9b17c96 commit ace2146
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions shell/zsh/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,9 @@ zstyle ':autocomplete:*complete*:*' insert-unambiguous yes
}

# https://github.com/marlonrichert/zsh-autocomplete#reset-ctrlr-and-ctrls
zle -A {.,}history-incremental-search-backward
zle -A {.,}vi-history-search-backward
bindkey -M emacs '^S' history-incremental-search-forward
bindkey -M vicmd '/' vi-history-search-forward
# https://github.com/marlonrichert/zsh-autocomplete/issues/651
bindkey '^R' .history-incremental-search-backward
bindkey '^S' .history-incremental-search-forward

#### Globbing

Expand Down

0 comments on commit ace2146

Please sign in to comment.