zsh:glog: Bind Ctrl-s to toggle-sort

When searching for a specific commit in a long history the chronological
sorting can sometimes be annoying. Map ctrl-s to toggle-sort so that the
best result can be at the top.
This commit is contained in:
2025-08-24 20:20:52 +02:00
parent b47c91bb5f
commit 1f6fb2abf7

View File

@@ -105,6 +105,7 @@ local -A binds=(
"end" "last"
"ctrl-d" "half-page-down"
"ctrl-u" "half-page-up"
"ctrl-s" "toggle-sort"
"ctrl-t" "toggle-track"
# Keep the current line selected while deleting the query
"bspace" "track-current+backward-delete-char"