aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2026-10-26 13:56:13 +0100
committerMartin Fischer <martin@push-f.com>2026-10-30 18:02:24 +0100
commitf9120707b812e324f991da3954d2fc5127d220ca (patch)
tree0b69e35d71b9ba01735447ce7b6f099609759793
parent7dc9a00db356fda7ab7ee8ef528f3737b5ea1f0a (diff)
fix(user/git): enable mouse-wheel scrolling in pager
-rw-r--r--user/git/config5
1 files changed, 5 insertions, 0 deletions
diff --git a/user/git/config b/user/git/config
index 876ba4f..d35cc30 100644
--- a/user/git/config
+++ b/user/git/config
@@ -12,5 +12,10 @@ sort = -committerdate
[commit]
verbose = true
+[core]
+# Git's default LESS options include X, which breaks mouse-wheel scrolling.
+# Disable only X, retaining F so less exits when the text fits on screen.
+pager = less -+X -R
+
[push]
autoSetupRemote = true