From fe16087da4c536917ccf7af2795f7488c102ae95 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Thu, 3 Feb 2022 17:06:49 +0100 Subject: [PATCH] less: Enable mouse-support --- .config/zsh/.zprofile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.config/zsh/.zprofile b/.config/zsh/.zprofile index 3613bc5..7085dd9 100644 --- a/.config/zsh/.zprofile +++ b/.config/zsh/.zprofile @@ -71,6 +71,9 @@ if (( $+commands[less] )); then export LESS_TERMCAP_so=$'\E[01;44;33m' export LESS_TERMCAP_ue=$'\e[0m' export LESS_TERMCAP_us=$'\e[1;4;31m' + + # Enable mouse wheel support + export LESS="--mouse --wheel-lines=3" fi # Show also hidden files per default but ignore files in '.git' directories.