DEV Community

Play Button Pause Button
Waylon Walker
Waylon Walker

Posted on • Originally published at waylonwalker.com

tmux rotate-window

Rotate window is the main way that I navigated tmux before I learned
select-pane. It allows you to change your focused pane, or rotate the
position of the panes easily.

Default keybindings

bind-key        C-o rotate-window
bind-key          o select-pane -t :.+
Enter fullscreen mode Exit fullscreen mode

My keybindings look just a bit different than the default ones, I do not like
needing to hit prefix for every command, especially for repeated commands. I
set a similar keybinding to the default one that uses mod instead of prefix.

bind -n M-o select-pane -t :.+
bind -n M-O rotate-window
Enter fullscreen mode Exit fullscreen mode

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

https://www.youtube.com/playlist?list=PLTRNG6WIHETB4reAxbWza3CZeP9KL6Bkr

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

Top comments (0)