glog: More sticky header improvements

This commit is contained in:
2025-01-08 11:28:21 +01:00
parent c093a4ea37
commit 1783ee681a

View File

@@ -128,7 +128,7 @@ local -a fzf_args=(
# Expand the binds array in the format "key1:value1,key2:value2". # Expand the binds array in the format "key1:value1,key2:value2".
"--bind" "${(@kj:,:)binds/(#m)*/$MATCH:$binds[$MATCH]}" "--bind" "${(@kj:,:)binds/(#m)*/$MATCH:$binds[$MATCH]}"
# Display key-bindings in a sticky header # Display key-bindings in a sticky header
"--header" $'\e[38;5;144menter\e[38;5;59m: fullscreen, \e[38;5;144mctrl-y\e[38;5;59m: copy, \e[38;5;144mctrl-space\e[38;5;59m: move preview, \e[38;5;144mctrl-[spf]\e[38;5;59m: preview stats/patch/files' "--header" $'\e[38;5;144mEnter\e[38;5;59m: fullscreen, \e[38;5;144mC-y\e[38;5;59m: yank hash, \e[38;5;144mC-Space\e[38;5;59m: cycle preview, \e[38;5;144mC-[spf]\e[38;5;59m: preview stats/patch/files'
# Keep header above prompt line # Keep header above prompt line
"--header-first" "--header-first"
# Execute git show on the commit as preview. # Execute git show on the commit as preview.