DEV Community

Play Button Pause Button
Waylon Walker
Waylon Walker

Posted on • Originally published at

tmux select-layout

When you get many splits going in tmux sometimes its time for a new layout.
There are four layout strategies that I use, main-vertical, main-horizontal,
even-vertical, even-horizontal. Almost always I am useing the main ones with
mod plus a or mod plus shift a keybindings.

# Select Layouts
bind -n M-a select-layout main-vertical
bind -n M-A select-layout main-horizontal 
bind -n M-E select-layout even-vertical
bind -n M-V select-layout even-horizontal
Enter fullscreen mode Exit fullscreen mode

Be sure to check out the full youtube playlist and subscribe if you like it.

Also check out this long form post for more about how I use tmux.

Top comments (0)