DEV Community

Play Button Pause Button
Waylon Walker
Waylon Walker

Posted on • Updated on • Originally published at

tmux last session

An ultimate productivity key-binding in tmux is one to switch to the last session. I use this to quickly get between sessions really quick. Often I am working and need to lookup a quick note, or copy something into my notes, then get back to where I was quickly.

bind -n M-b switch-client -l
Enter fullscreen mode Exit fullscreen mode

I think of this hub and spoke model, and use last-session to quickly drive it.

hub and spoke

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)