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:
parent
f3a1c638d3
commit
3119337400
|
@ -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…
Reference in a new issue