I've got tmux to scroll up, with the mouse wheel, using mouse-mode on
in tmux.conf (here's my entire conf).
But I've always had a problem scrolling back down again. Once the cursor hits the bottom of the screen, it immediately scrolls back to the bottom of the whole buffer, where the prompt is. It's not possible to scroll down a few lines in the same way I can scroll up a few lines. In other words, the whole middle section is only visible on the way up.
In Tmux, you can scroll up and down by using the following methods: Press the Ctrl + B keys, then the subsequent “[]” key. To navigate the Tmux interface, use the standard keyboard navigation keys such as up/down arrows, page up/page down, etc.
There are two methods to split tmux windows into separate panes. One allows you to make horizontal panes whereas the other splits the window into two vertical panes. You can navigate between the two panes with the help of the following commands: Ctrl + B and type o Allows you to switch to the next pane.
tmux's copy mode In tmux Ctrl + b [ enters copy mode, where you can move the cursor around and select text. If you have tmux's mouse mode enabled ( set -g mouse on ) then scrolling with the scrollwheel also enters copy mode. Ctrl + b Page Up enters copy mode and scrolls up by one page.
You should be in Gesture Mode (finger button on the keyboard) and use arrows and other shortcuts to scroll the content correctly.
I just upgraded from tmux 1.6 to the new tmux 1.8 (compiled from source rather than Homebrew, in case that matters), and it's working again now.
What would happen if you turned mousemode off and used the keyboard? Try that. Have you used burningTyger's settings for your conf? Try deleting the buffer command, maybe then it won't autoscroll to the prompt line. If you can disable any automatic behavior you might be able to do what you need. I don't know the OSX terms, but hopefully these concepts might be helpful.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With