Skip to content

Instantly share code, notes, and snippets.

@thallium
Last active July 5, 2024 20:46
Show Gist options
  • Save thallium/476d306469fd6af860c8d6676d3e0cae to your computer and use it in GitHub Desktop.
Save thallium/476d306469fd6af860c8d6676d3e0cae to your computer and use it in GitHub Desktop.
Remove ctrl-R binding in zsh-vi-mode
diff --git a/zsh-vi-mode.zsh b/zsh-vi-mode.zsh
index 48aaa5a..101b819 100644
--- a/zsh-vi-mode.zsh
+++ b/zsh-vi-mode.zsh
@@ -3470,7 +3470,7 @@ function zvm_init() {
zvm_bindkey vicmd '^[[3~' delete-char
# History search
- zvm_bindkey viins '^R' history-incremental-search-backward
+ # zvm_bindkey viins '^R' history-incremental-search-backward
zvm_bindkey viins '^S' history-incremental-search-forward
zvm_bindkey viins '^P' up-line-or-history
zvm_bindkey viins '^N' down-line-or-history
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment