Categories
DailyOps

How to create a new tmux window with a given name

Create a new tmux window with a given name.

# create new window and change name
bind-key C command-prompt -p "Create window with name:" "new-window; rename-window '%%'"

Use prefix key C to provide a name and create a new tmux window.