mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
allow j and k to do (down|up)-line-or-search in vicmd mode
This commit is contained in:
parent
656919e138
commit
cb300fb006
1 changed files with 2 additions and 0 deletions
|
|
@ -67,9 +67,11 @@ else
|
|||
fi
|
||||
|
||||
bindkey "^P" 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 "^N" 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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue