git:glog: Remove by-now default fzf bindings
These were added "globally" to FZF_DEFAULT_OPTS in 4f5d23bd1 ("zprofile:
Add some bindings to FZF_DEFAULT_OPTS").
This commit is contained in:
@@ -117,7 +117,9 @@ fi
|
|||||||
export FZF_DEFAULT_COMMAND
|
export FZF_DEFAULT_COMMAND
|
||||||
|
|
||||||
typeset -A fzf_opts=(
|
typeset -A fzf_opts=(
|
||||||
|
# Clear query if not empty, abort otherwise
|
||||||
esc cancel
|
esc cancel
|
||||||
|
# Better navigation
|
||||||
home first
|
home first
|
||||||
end last
|
end last
|
||||||
ctrl-d half-page-down
|
ctrl-d half-page-down
|
||||||
|
|||||||
@@ -94,19 +94,12 @@ local -A binds=(
|
|||||||
"ctrl-y" "execute@$fzf_copy_command@"
|
"ctrl-y" "execute@$fzf_copy_command@"
|
||||||
# Open preview "fullscreen"
|
# Open preview "fullscreen"
|
||||||
"enter" "execute@$fzf_preview[patch] | command less -R@"
|
"enter" "execute@$fzf_preview[patch] | command less -R@"
|
||||||
# Clear query if not empty, abort otherwise
|
|
||||||
"esc" "cancel"
|
|
||||||
# Preview stats
|
# Preview stats
|
||||||
"ctrl-s" "preview($fzf_preview[stat])"
|
"ctrl-s" "preview($fzf_preview[stat])"
|
||||||
# Preview patch
|
# Preview patch
|
||||||
"ctrl-p" "preview($fzf_preview[patch])"
|
"ctrl-p" "preview($fzf_preview[patch])"
|
||||||
# Files only
|
# Files only
|
||||||
"ctrl-f" "preview($fzf_preview[files_only])"
|
"ctrl-f" "preview($fzf_preview[files_only])"
|
||||||
# faster navigation
|
|
||||||
"home" "first"
|
|
||||||
"end" "last"
|
|
||||||
"ctrl-d" "half-page-down"
|
|
||||||
"ctrl-u" "half-page-up"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# TODO: Make the --preview argument dependent of --stat flag (i.e.
|
# TODO: Make the --preview argument dependent of --stat flag (i.e.
|
||||||
|
|||||||
Reference in New Issue
Block a user