Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

How do I scroll in tmux?

I just started using tmux, and I really like it, but I need to be able to scroll within the buffers/panes/windows I have open. I don't care if it works with the mouse or not. When I search the tmux man page, I find only two instances of the word "scroll" even showing up, and both have to do with copy mode. Is there a way to scroll without all the overhead of entering copy mode?
by

2 Answers

espadacoder11
Well, you should consider the proper way to set scrolling: add in your ~/.tmux.conf

set -g mouse on #For tmux version 2.1 and up

or

set -g mode-mouse on #For tmux versions < 2.1

It worked for me in windows and panes. Now tmux is just perfect.
sandhya6gczb
From my .tmux.conf:

# Sane scrolling

set -g terminal-overrides 'xterm*:smcup@:rmcup@'

This enables native xterm scrolling.

Login / Signup to Answer the Question.