summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSüleyman Fərəcli <suleyman@farajli.net>2024-10-05 15:16:10 +0400
committerGitHub <noreply@github.com>2024-10-05 15:16:10 +0400
commit3d4306712fdd9092af0d75f696e2b8fd4afbb877 (patch)
tree6e0c80b2058f3ed6f719bc4d27b82f5ba7bb41d8
parentd82ca119f722df4f4573284e4e06077965bd3a1b (diff)
parent8475edbc2940d76a2f0835e14814145ee7b495ca (diff)
Merge pull request #2 from sayMuFaSa/master
vi mode incremental up and down
-rwxr-xr-xconfig/zsh/zshrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/zsh/zshrc b/config/zsh/zshrc
index 3f54f13..d0fee6c 100755
--- a/config/zsh/zshrc
+++ b/config/zsh/zshrc
@@ -67,6 +67,8 @@ bindkey '^R' history-incremental-search-backward
bindkey -s '^o' '^ulfcd\n'
bindkey -s '^f' '^ucd "$(dirname "$(fzf --reverse)")"\n'
bindkey -s '^v' '^uvi "$(fzf --reverse)"\n'
+bindkey -M vicmd 'k' history-search-backward
+bindkey -M vicmd 'j' history-search-forward
if [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliasrc" ];then
source "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliasrc"