summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorShubham Saini <pryr@pryr.xyz>2020-10-15 08:47:05 +0000
committerShubham Saini <pryr@pryr.xyz>2020-10-15 08:47:05 +0000
commit47104dc543716df819d41c95a3dc2976be008441 (patch)
treead4c0dc941d380e98ff62752b108cc16e689a53b /zsh
parent4a2078eeb4240c002fca00e27765b5f7a4df6c9e (diff)
added reverse search
Diffstat (limited to 'zsh')
-rwxr-xr-xzsh/.zshrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 22a2121..b8e69f0 100755
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -66,6 +66,9 @@ compinit
66bindkey -v 66bindkey -v
67export KEYTIMEOUT=1 67export KEYTIMEOUT=1
68 68
69# reverse search
70bindkey '^R' history-incremental-search-backward
71
69# Use vim keys in tab complete menu: 72# Use vim keys in tab complete menu:
70bindkey -M menuselect 'h' vi-backward-char 73bindkey -M menuselect 'h' vi-backward-char
71bindkey -M menuselect 'k' vi-up-line-or-history 74bindkey -M menuselect 'k' vi-up-line-or-history