Browse Source

Remove the vi beginning/end-of-history bindings

The bindings do not work as expected, and begging-of-history is pretty
useless.
master
Sorin Ionescu 13 years ago
parent
commit
3119337400
  1. 4
      keyboard.zsh

4
keyboard.zsh

@ -159,10 +159,6 @@ bindkey -M vicmd "$keyinfo[Control]R" redo
bindkey -M viins "jk" vi-cmd-mode bindkey -M viins "jk" vi-cmd-mode
bindkey -M viins "kj" vi-cmd-mode bindkey -M viins "kj" vi-cmd-mode
# History
bindkey -M vicmd "gg" beginning-of-history
bindkey -M vicmd "G" end-of-history
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