zsh:glog: Add bindings for faster navigation
This commit is contained in:
@@ -75,6 +75,7 @@ elif (( $+commands[xclip] )); then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
local -A binds=(
|
local -A binds=(
|
||||||
|
# scroll in preview window
|
||||||
"ctrl-alt-j" "preview-down"
|
"ctrl-alt-j" "preview-down"
|
||||||
"ctrl-alt-k" "preview-up"
|
"ctrl-alt-k" "preview-up"
|
||||||
# Copy commit hash
|
# Copy commit hash
|
||||||
@@ -86,8 +87,12 @@ local -A binds=(
|
|||||||
# Preview stats
|
# Preview stats
|
||||||
"ctrl-s" "preview($fzf_preview[stat])"
|
"ctrl-s" "preview($fzf_preview[stat])"
|
||||||
# Preview patch
|
# Preview patch
|
||||||
"ctrl-d" "preview($fzf_preview[patch])"
|
|
||||||
"ctrl-p" "preview($fzf_preview[patch])"
|
"ctrl-p" "preview($fzf_preview[patch])"
|
||||||
|
# faster navigation
|
||||||
|
"home" "first"
|
||||||
|
"end" "last"
|
||||||
|
"ctrl-d" "half-page-down"
|
||||||
|
"ctrl-u" "half-page-up"
|
||||||
)
|
)
|
||||||
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