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:
2023-06-24 11:05:32 +02:00
parent e5b2ba94ee
commit 739e03b5a7
2 changed files with 2 additions and 7 deletions

View File

@@ -117,7 +117,9 @@ fi
export FZF_DEFAULT_COMMAND
typeset -A fzf_opts=(
# Clear query if not empty, abort otherwise
esc cancel
# Better navigation
home first
end last
ctrl-d half-page-down

View File

@@ -94,19 +94,12 @@ local -A binds=(
"ctrl-y" "execute@$fzf_copy_command@"
# Open preview "fullscreen"
"enter" "execute@$fzf_preview[patch] | command less -R@"
# Clear query if not empty, abort otherwise
"esc" "cancel"
# Preview stats
"ctrl-s" "preview($fzf_preview[stat])"
# Preview patch
"ctrl-p" "preview($fzf_preview[patch])"
# 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.