DEV Community

0 seconds of 1 minute, 38 secondsVolume 90%
Press shift question mark to access a list of keyboard shortcuts
00:00
00:00
01:38
 
Waylon Walker
Waylon Walker

Posted on β€’ Originally published at waylonwalker.com

4 1

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.

Image of Datadog

The Essential Toolkit for Front-end Developers

Take a user-centric approach to front-end monitoring that evolves alongside increasingly complex frameworks and single-page applications.

Get The Kit

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free β†’

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay