tmux
Tmux
What is tmux?
tmux, short for Terminal Multiplexer, is a powerful terminal multiplexer for Unix-like operating systems. It allows users to manage multiple terminal sessions from a single window, enabling them to run multiple command-line applications simultaneously.
How to install tmux?
Ubuntu:
sudo apt install tmux
Fedora:
sudo dnf install tmux
Archlinux:
sudo pacman -S tmux
How to use tmux?
You can start using tmux by typing tmux
in your command line. If you want to name your tmux session, you can do so with a command line:
tmux new -S myTmux
To detach from tmux and return to your terminal, press CTRL + b
followed by d
. If you want to re-enter your open session, just use the appropriate command.
tmux a -t myTmux
How to customize tmux?
I plan to set up my environment in a way that works best for me. To start, go ahead and download .tmux.conf.
:
curl https://raw.githubusercontent.com/ivanhertanto/my-dotfiles/refs/heads/fedora/.tmux.conf --output ~/.tmux.conf
Install tpm (tmux plugin manager):
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
Start the tmux, press CTRL + b
, then SHIFT + i
, and you're all set!