allow j and k to do (down|up)-line-or-search in vicmd mode

This commit is contained in:
Ashley Dev 2011-05-19 09:50:25 -07:00
commit cb300fb006

View file

@ -67,9 +67,11 @@ else
fi fi
bindkey "^P" up-line-or-search bindkey "^P" up-line-or-search
bindkey -M vicmd "k" up-line-or-search
bindkey -M vicmd "^k" up-line-or-search bindkey -M vicmd "^k" up-line-or-search
bindkey -M viins "^k" up-line-or-search bindkey -M viins "^k" up-line-or-search
bindkey "^N" down-line-or-search bindkey "^N" down-line-or-search
bindkey -M vicmd "j" down-line-or-search
bindkey -M vicmd "^j" down-line-or-search bindkey -M vicmd "^j" down-line-or-search
bindkey -M viins "^j" down-line-or-search bindkey -M viins "^j" down-line-or-search