New-session popup
Ctrl-a n, or bmux project from a shell, opens a centered popup (80% of the
screen) over the current view, with two tabs. Tab switches between them.
The picker’s and the sidebar’s n open the same popup.
Projects tab
Section titled “Projects tab”Lists project folders, like sesh and tmux-sessionizer:
- folders a session started in, most recently used first, with the session’s name;
- git repositories under
projects.roots(~/code,~/src,~/projectsand~/devby default, when they exist), up toprojects.depthlevels down (3). Hidden folders,node_modules,vendorand folders inside a repository aren’t searched.


Typing filters the list; Up/Down (or Ctrl-j/k, Ctrl-n/p) select, Backspace
and Ctrl-u edit the filter. Enter attaches to the most recent session
started in that folder, or creates one named after it, the way bare bmux
names sessions. When nothing matches the filter, Enter opens the Create tab
with the filter as the session name. Esc closes the popup; when
bmux project opened it, bmux exits. bmux project DIR does the same for one
folder without the popup. Folders reached through a symlink are the same
folder.
A repository with git worktrees is
followed by its worktrees on a tree (├─, └─), each marked with its branch. They are
listed wherever they live, even outside projects.roots: bmux reads them from
the repository’s own worktree list. Typing a filter ranks every folder by
match and drops the indentation.
Create tab
Section titled “Create tab”Tab (or Enter with no match) opens a form with a start directory, a
session name and a Create directory if it doesn’t exist toggle, with the
directory focused. The directory starts as projects.start-dir if you set it,
else the highlighted project’s folder, else the folder you started bmux in.
The name starts empty, because it is usually the folder’s name: leave it empty
and the session is named after the directory the way bare bmux names
sessions, numbered if taken (api-2). Type a name to override it. A filter you
typed that didn’t pick a project becomes the name.
Up/Down move between the fields, Backspace and Ctrl-u edit the focused text
field, and Enter creates the session and attaches to it. A relative
directory is relative to the start directory, and ~ is your home directory.
The toggle is on by default: a start directory that doesn’t exist is created,
parents included, before the session starts. Turn it off with Space (or
Left/Right) while it’s focused and a missing directory is an error instead.
The start directory is where you started bmux unless projects.start-dir names
another folder.
In the directory field, Tab completes the path like a shell: one matching folder completes to it plus a slash, several complete to what they share, and a Tab that can’t add anything lists the matches. Only folders are offered, and hidden ones only after you type a dot. Esc (or Tab outside the directory field) returns to the Projects tab without creating anything.