Last active
July 5, 2024 20:46
-
-
Save thallium/476d306469fd6af860c8d6676d3e0cae to your computer and use it in GitHub Desktop.
Remove ctrl-R binding in zsh-vi-mode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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