[Fix #338] Remove vi jk and kj bindings

This commit is contained in:
Sorin Ionescu 2012-12-20 19:02:16 -05:00
parent 37f65b3f86
commit a120602dfa

View File

@ -270,10 +270,6 @@ bindkey -M vicmd "v" edit-command-line
bindkey -M vicmd "u" undo bindkey -M vicmd "u" undo
bindkey -M vicmd "$key_info[Control]R" redo bindkey -M vicmd "$key_info[Control]R" redo
# Switch to command mode.
bindkey -M viins "jk" vi-cmd-mode
bindkey -M viins "kj" vi-cmd-mode
if (( $+widgets[history-incremental-pattern-search-backward] )); then if (( $+widgets[history-incremental-pattern-search-backward] )); then
bindkey -M vicmd "?" history-incremental-pattern-search-backward bindkey -M vicmd "?" history-incremental-pattern-search-backward
bindkey -M vicmd "/" history-incremental-pattern-search-forward bindkey -M vicmd "/" history-incremental-pattern-search-forward