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:
@@ -105,6 +105,7 @@ local -A binds=(
|
|||||||
"end" "last"
|
"end" "last"
|
||||||
"ctrl-d" "half-page-down"
|
"ctrl-d" "half-page-down"
|
||||||
"ctrl-u" "half-page-up"
|
"ctrl-u" "half-page-up"
|
||||||
|
"ctrl-s" "toggle-sort"
|
||||||
"ctrl-t" "toggle-track"
|
"ctrl-t" "toggle-track"
|
||||||
# Keep the current line selected while deleting the query
|
# Keep the current line selected while deleting the query
|
||||||
"bspace" "track-current+backward-delete-char"
|
"bspace" "track-current+backward-delete-char"
|
||||||
|
|||||||
Reference in New Issue
Block a user