Do not disable less' alternate screen, close #35
While the '-X' switch allows the user to quit less with the relevant portion of a man page still visible, it breaks mouse scrolling.
This commit is contained in:
parent
f3a0366438
commit
34a5743789
|
@ -93,7 +93,7 @@ fi
|
||||||
export LESSCHARSET="UTF-8"
|
export LESSCHARSET="UTF-8"
|
||||||
export LESSHISTFILE='-'
|
export LESSHISTFILE='-'
|
||||||
export LESSEDIT='vim ?lm+%lm. %f'
|
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
|
if (( $+commands[lesspipe.sh] )); then
|
||||||
export LESSOPEN='| /usr/bin/env lesspipe.sh %s 2>&-'
|
export LESSOPEN='| /usr/bin/env lesspipe.sh %s 2>&-'
|
||||||
|
|
Loading…
Reference in a new issue