DEV Community

Play Button Pause Button

tmux last session

Waylon Walker
Data Engineering with python, kedro super user.
Originally published at Updated on ・1 min read

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.

Discussion (0)