Skip to content

Instantly share code, notes, and snippets.

@isyedaliraza
Last active December 12, 2023 08:31
Show Gist options
  • Select an option

  • Save isyedaliraza/974bf24822c0a18b250bd8583489e897 to your computer and use it in GitHub Desktop.

Select an option

Save isyedaliraza/974bf24822c0a18b250bd8583489e897 to your computer and use it in GitHub Desktop.
TMUX - Terminal Multiplexer Basics

TMUX - Terminal Multiplexer

tmux is a tool that allows us to do many things. One of these things is splitting terminal windows into panes in a same window.

Installation on macos

We can use homebrew to install tmux brew install tmux

Start a session

We can use tmux command to create a new session.

Split panes

By default we have only one pane when tmux session is started. We can split the pane by using (Ctrl+b) + % keybinding.

Moving between panes

We can move between panes by using (Ctrl+b) + arrow keys keybinding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment