Home Writing Reading

til / Rename windows in tmux

TL;DR: Use ctrl+b + .

I often have multiple windows open in tmux. For example, one running the frontend, one running the backend, and one with my dotfiles. These windows are automatically named according to the running process. This is useful, but can be difficult to keep track of when multiple windows run similar processes, like node.

To organize, we can rename the windows. This is easily done with the shortcut ctrl + b, ., where ctrl + b is the default tmux prefix.

This is a shorter way of writing tmux rename-window <new name>, where tmux is ctrl + b, : to open the command line.


  • Loading next post...
  • Loading previous post...