Search code examples
terminaltmux

How to increase horizontal buffer in tmux pane


I'm setting up a terminal based programming environment, but I'm running into an issue with tmux. I need more horizontal scrolling space to view Pandas dataframes, but my horizontal screen buffer size is being restricted when I use tmux.

I've seen plenty of other answers that deal with vertical scroll-back limits, but I haven't been able to find SO answers or tmux documentation showing how to increase horizontal screen buffer size.

Below are the steps I found to increase vertical scroll distance:

1) open the tmux conf file

vim ~/.tmux.conf

2) add line to increase vertical scroll limit

set-option -g history-limit 9000

Is it possible to use a similar setting in .tmux.conf to increase horizontal scroll?


Solution

  • If you build tmux from Git master or a 2.9-rc, you can use resize-window to set the width.