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