Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bindkey '^[k' up-line-or-history
- bindkey '^[j' down-line-or-history
- vi-cmd-up-line-history() {
- zle vi-cmd-mode
- zle up-line-or-history
- }
- zle -N vi-cmd-up-line-history
- bindkey -M vicmd '^[k' vi-cmd-up-line-history
- bindkey -M viins '^[k' vi-cmd-up-line-history
- vi-cmd-down-line-history() {
- zle vi-cmd-mode
- zle down-line-or-history
- }
- zle -N vi-cmd-down-line-history
- bindkey -M vicmd '^[j' vi-cmd-down-line-history
- bindkey -M viins '^[j' vi-cmd-down-line-history
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement