zsh:glog: Comment bindings and add cancel bind

This commit is contained in:
2020-12-19 02:29:10 +01:00
parent 21014b46ce
commit 9276f9427e

View File

@@ -54,8 +54,12 @@ local -A binds=(
"ctrl-space" "toggle-preview"
"ctrl-alt-j" "preview-down"
"ctrl-alt-k" "preview-up"
"ctrl-y" "execute-silent@$fzf_copy_command@"
"enter" "execute@$fzf_preview_command | command less -R@"
# Copy commit hash
"ctrl-y" "execute-silent@$fzf_copy_command@"
# Open preview "fullscreen"
"enter" "execute@$fzf_preview_command | command less -R@"
# Clear query if not empty, abort otherwise
"esc" "cancel"
)
local -a fzf_args=(
# Understand ansi color escape sequences.