From 390c353f9762698045c543f9bbc9b1ffd9420675 Mon Sep 17 00:00:00 2001 From: Sorin Ionescu 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 80cb98a..2c03055 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