Skip to content

Commit

Permalink
[Fix sorin-ionescu#338] Remove vi jk and kj bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
sorin-ionescu authored and linuslundahl committed Oct 17, 2013
1 parent 9b5cece commit 41048c6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions modules/editor/init.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -270,10 +270,6 @@ bindkey -M vicmd "v" edit-command-line
bindkey -M vicmd "u" undo
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
bindkey -M vicmd "?" history-incremental-pattern-search-backward
bindkey -M vicmd "/" history-incremental-pattern-search-forward
Expand Down

0 comments on commit 41048c6

Please sign in to comment.