Skip to content

Commit

Permalink
Reset C-r binding in zle
Browse files Browse the repository at this point in the history
Oh my goodness this is so much better
  • Loading branch information
raxod502 committed Sep 30, 2023
1 parent 15f503e commit 74a5e0f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions shell/zsh/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,12 @@ zstyle ':autocomplete:*complete*:*' insert-unambiguous yes
done
}

# 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

#### Globbing

# This makes globs case-insensitive.
Expand Down

0 comments on commit 74a5e0f

Please sign in to comment.