<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Jack McGinty</title>
    <description>The latest articles on DEV Community by Jack McGinty (@jtmcginty).</description>
    <link>https://dev.to/jtmcginty</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3810843%2Fba5a1eae-bed9-4c51-a08a-f53835e8c5e8.png</url>
      <title>DEV Community: Jack McGinty</title>
      <link>https://dev.to/jtmcginty</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jtmcginty"/>
    <language>en</language>
    <item>
      <title>Couldn't find a minimal session indicator for tmux, so I built one</title>
      <dc:creator>Jack McGinty</dc:creator>
      <pubDate>Sat, 07 Mar 2026 04:07:51 +0000</pubDate>
      <link>https://dev.to/jtmcginty/multiple-tmux-sessions-are-underrated-until-navigation-gets-in-the-way-1ekm</link>
      <guid>https://dev.to/jtmcginty/multiple-tmux-sessions-are-underrated-until-navigation-gets-in-the-way-1ekm</guid>
      <description>&lt;p&gt;If you're doing serious terminal work, multiple tmux sessions are one of the highest-leverage habits you can build: isolated contexts for separate tickets, experiments, or projects, each with its own window layout and state. The friction point is &lt;em&gt;switching&lt;/em&gt;. &lt;code&gt;tmux ls&lt;/code&gt;, squinting at session names, re-orienting yourself — it's enough cognitive overhead that most people just don't bother.&lt;/p&gt;

&lt;p&gt;I built &lt;strong&gt;&lt;a href="https://github.com/jtmcginty/tmux-session-dots" rel="noopener noreferrer"&gt;tmux-session-dots&lt;/a&gt;&lt;/strong&gt; to remove that friction entirely.&lt;/p&gt;




&lt;h2&gt;
  
  
  What it does
&lt;/h2&gt;

&lt;p&gt;A TPM plugin that renders a minimal dot indicator in your status bar:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;○ ● ○
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;One dot per session. Filled = you're here. That's it. Three sessions open, you're on the middle one — you know that at a glance, zero keystrokes.&lt;/p&gt;

&lt;p&gt;It wires up via tmux hooks, so the indicator updates in real time as you switch. No polling, no lag.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0mhvg4b9yju9ba9bami8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0mhvg4b9yju9ba9bami8.png" alt="tmux status bar showing three sessions; the active one highlighted with a filled dot" width="800" height="56"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Default styling uses Catppuccin pink (because taste matters), but colors and symbols are fully overridable.&lt;/p&gt;




&lt;h2&gt;
  
  
  The workflow it unlocks
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftbwryvzbb08i4iyyq8sl.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftbwryvzbb08i4iyyq8sl.gif" alt="session dots switching" width="720" height="498"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The dots alone are nice. Paired with prefix-free session switching, it clicks into something you'll actually reach for constantly:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# Cycle sessions without prefix
bind-key -n M-[ switch-client -p
bind-key -n M-] switch-client -n
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;Option + [&lt;/code&gt; / &lt;code&gt;Option + ]&lt;/code&gt; — you jump sessions, the dots shift immediately, you're reoriented before your eyes have time to ask "wait, which session am I on?" No prefix chord, no cognitive gap.&lt;/p&gt;

&lt;p&gt;This is the part I've found genuinely changes behavior: when switching is this fast and readable, I actually &lt;em&gt;use&lt;/em&gt; separate sessions more. One per ticket, one for experiments, one for monitoring — whatever the isolation boundary makes sense.&lt;/p&gt;




&lt;h2&gt;
  
  
  Install
&lt;/h2&gt;

&lt;p&gt;Add to &lt;code&gt;~/.tmux.conf&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;set -g @plugin 'jtmcginty/tmux-session-dots'
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Install: &lt;code&gt;prefix + I&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Drop it in your status bar:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;set -g status-right "#{session_dots} | %H:%M %d-%b"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Reload: &lt;code&gt;tmux source-file ~/.tmux.conf&lt;/code&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Customize
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;set -g @session-dots-active '●'
set -g @session-dots-inactive '○'
# Add fg/bg colors with tmux #[...] syntax
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Swap the symbols for anything you like — some combinations worth trying:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Active&lt;/th&gt;
&lt;th&gt;Inactive&lt;/th&gt;
&lt;th&gt;Preview&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;●&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;○&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;●○○ (default)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;▶&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;–&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;▶––&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;•&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;·&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;•··&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;■&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;□&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;■□□&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;GitHub → &lt;a href="https://github.com/jtmcginty/tmux-session-dots" rel="noopener noreferrer"&gt;&lt;strong&gt;jtmcginty/tmux-session-dots&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;If you're already living in tmux and haven't dialed in your session workflow, this is a small thing that quietly makes the whole setup feel more intentional. &lt;/p&gt;

&lt;p&gt;If it's useful, a ⭐ on the repo goes a long way — and PRs/issues are always welcome!&lt;/p&gt;

</description>
      <category>tmux</category>
      <category>productivity</category>
      <category>linux</category>
      <category>cli</category>
    </item>
  </channel>
</rss>
