zsh:glog: Comment bindings and add cancel bind
This commit is contained in:
@@ -54,8 +54,12 @@ local -A binds=(
|
|||||||
"ctrl-space" "toggle-preview"
|
"ctrl-space" "toggle-preview"
|
||||||
"ctrl-alt-j" "preview-down"
|
"ctrl-alt-j" "preview-down"
|
||||||
"ctrl-alt-k" "preview-up"
|
"ctrl-alt-k" "preview-up"
|
||||||
|
# Copy commit hash
|
||||||
"ctrl-y" "execute-silent@$fzf_copy_command@"
|
"ctrl-y" "execute-silent@$fzf_copy_command@"
|
||||||
|
# Open preview "fullscreen"
|
||||||
"enter" "execute@$fzf_preview_command | command less -R@"
|
"enter" "execute@$fzf_preview_command | command less -R@"
|
||||||
|
# Clear query if not empty, abort otherwise
|
||||||
|
"esc" "cancel"
|
||||||
)
|
)
|
||||||
local -a fzf_args=(
|
local -a fzf_args=(
|
||||||
# Understand ansi color escape sequences.
|
# Understand ansi color escape sequences.
|
||||||
|
|||||||
Reference in New Issue
Block a user