From 4e574fcbd370df6d21296250d465ac07f7da062b Mon Sep 17 00:00:00 2001 From: RIT80 <5562208+RIT80@users.noreply.github.com> Date: Mon, 19 Mar 2012 14:06:41 -0400 Subject: [PATCH] [Fix #35] Add a comment on enabling mouse scroll --- environment.zsh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/environment.zsh b/environment.zsh index 80cb98a2da..2c03055ab0 100644 --- a/environment.zsh +++ b/environment.zsh @@ -94,6 +94,9 @@ fi export LESSCHARSET="UTF-8" export LESSHISTFILE='-' export LESSEDIT='vim ?lm+%lm. %f' + +# Mouse-wheel scrolling has been disabled by -X (disable screen clearing). +# Remove -X and -F (exit if the content fits on one screen) to enable it. export LESS='-F -g -i -M -R -S -w -X -z-4' if (( $+commands[lesspipe.sh] )); then