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-31 08:43:09 +0100
commit304640c8bb190285b41f1c957400a2647c399deb (patch)
treedd8b1c0cbfb095068c477916e0fe0f6ae4e042c8
parent35b3174ce5c64ead44c01fafff5a8451c0a0d063 (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