Published on

Zoom to Full Screen in Tmux

Zoom to Full Screen in Tmux

Tmux is one of the most useful tool when it comes to using using a linux terminal.

Tmux is a terminal multiplexer, it allows a user to access multiple terminals (or windows), each running a separate program, while providing a single screen to work on. Tmux is useful for running more than one command-line program at the same time, increasing productivity and the way you work.

Let's say you have already created one or more tmux sessions, with several windows and panes. We will discuss how you can zoom out the tmux pane to full-screen.

Maximise Tmux Pane to Full Screen

Let's consider the case where you are inside your tmux pane. Go to the pane which you want to zoom out to full-screen i.e., make it your active pane.

You can use the following keyboard shortcut to zoom out to full-screen-

Prefix + z

By default the prefix is Ctrl-B, so to resize the tmux window to full screen you can run the following command-

Ctrl-B + z

You can toggle the full-screen mode by using the same keyboard shortcut - Prefix + z or Ctrl-B + z.

I hope you found this article useful, glad that you found it easy to zoom in and zoom out in Tmux. You can also check out the complete tmux cheatsheet of keyboard shortcuts and mouse shortcuts.