less: Enable mouse-support

This commit is contained in:
2022-02-03 17:06:49 +01:00
parent 00de841771
commit fe16087da4

View File

@@ -71,6 +71,9 @@ if (( $+commands[less] )); then
export LESS_TERMCAP_so=$'\E[01;44;33m' export LESS_TERMCAP_so=$'\E[01;44;33m'
export LESS_TERMCAP_ue=$'\e[0m' export LESS_TERMCAP_ue=$'\e[0m'
export LESS_TERMCAP_us=$'\e[1;4;31m' export LESS_TERMCAP_us=$'\e[1;4;31m'
# Enable mouse wheel support
export LESS="--mouse --wheel-lines=3"
fi fi
# Show also hidden files per default but ignore files in '.git' directories. # Show also hidden files per default but ignore files in '.git' directories.