From 1f6fb2abf779c7cdb67053c624b957ff062f942b Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Sun, 24 Aug 2025 20:20:52 +0200 Subject: [PATCH] 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. --- .config/zsh/autoload/git/glog | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/zsh/autoload/git/glog b/.config/zsh/autoload/git/glog index 4740786..af463b4 100755 --- a/.config/zsh/autoload/git/glog +++ b/.config/zsh/autoload/git/glog @@ -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"