Remove the vi beginning/end-of-history bindings

The bindings do not work as expected, and begging-of-history is pretty
useless.
This commit is contained in:
Sorin Ionescu 2012-03-30 20:40:27 -04:00
parent f3a1c638d3
commit 3119337400

View file

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