Skip to content

Commit

Permalink
Do not disable less' alternate screen, close sorin-ionescu#35
Browse files Browse the repository at this point in the history
While the '-X' switch allows the user to quit less with the relevant
portion of a man page still visible, it breaks mouse scrolling.
  • Loading branch information
sorin-ionescu committed Mar 17, 2012
1 parent f3a0366 commit 34a5743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion environment.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ fi
export LESSCHARSET="UTF-8"
export LESSHISTFILE='-'
export LESSEDIT='vim ?lm+%lm. %f'
export LESS='-F -g -i -M -R -S -w -X -z-4'
export LESS='-F -g -i -M -R -S -w -z-4'

if (( $+commands[lesspipe.sh] )); then
export LESSOPEN='| /usr/bin/env lesspipe.sh %s 2>&-'
Expand Down

0 comments on commit 34a5743

Please sign in to comment.