Published: October 13, 2015 • 2 min read
Today while hacking on Rails I stumbled upon the Tmux ‘list sessions’ command.
CTRL-Z s
(where CTRL-Z
is your Tmux leader) opens a list of all your Tmux sessions, which you can navigate with normal Vim directions, or make your choice by typing in the desired index number.
When I’m having a good day programming, I’ll switch Tmux sessions a lot. My previous workflow was to exit a session with CTRL-Z d
, cd
to my next project, mux
(a Hashrocket Dotmatrix alias with levels) into a new or existing session with that directory name, then start hacking.
CTRL-Z s
is much faster.
What are your thoughts on this? Let me know!
Join 100+ engineers who subscribe for advice, commentary, and technical deep-dives into the world of software.