Browse Source

[Fix #338] Remove vi jk and kj bindings

master
Sorin Ionescu 12 years ago
parent
commit
a120602dfa
  1. 4
      modules/editor/init.zsh

4
modules/editor/init.zsh

@ -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

Loading…
Cancel
Save