fix mouse in tmux

This commit is contained in:
thek4n 2024-09-26 20:56:38 +03:00
parent 62dd4101e4
commit 82de8a8cd1
2 changed files with 3 additions and 1 deletions

View File

@ -6,7 +6,7 @@ export EDITOR="nvim"
export VISUAL="$EDITOR"
export PAGER="less"
export LESS="-nMiSRx4 -# 1 -+X -+F"
export LESS="-nMiSRx4 --mouse -# 1 -+X -+F"
if command -v "lesspipe.sh" &>/dev/null; then
export LESSOPEN="| lesspipe.sh %s"

View File

@ -18,6 +18,8 @@ bind -T off F12 {
set status on
}
bind WheelUpPane send-keys -N 2 scroll-up
bind WheelDownPane send-keys -N 2 scroll-Down
bind F12 send-keys F12