mux-sesh
v1.8.0
Published
A beautiful tmux session manager built with OpenTUI - fuzzy search sessions, manage projects, clone from GitHub
Maintainers
Readme
mux-sesh
Fast tmux session switching and project launching from a polished terminal UI.
Why mux-sesh
- Switch to live tmux sessions without leaving the keyboard.
- Launch local projects from a single, searchable picker.
- Keep reusable project rules in config instead of shell scripts.
- Stay inside tmux with previews, quick actions, and lightweight workflows.
Quick Start
mux-sesh runs on Bun and talks directly to tmux.
Prerequisites:
Install globally:
bun install -g mux-seshRun it:
mux-seshRecommended tmux binding:
bind-key -n M-w popup -E -w 62% -h 70% "mux-sesh"Reload tmux after adding the binding:
tmux source-file ~/.tmux.confHow It Works
- Sessions view shows live tmux sessions.
- Projects view shows scanned or configured directories.
- Selecting a project attaches to an existing session when possible, or creates one.
- The new-session flow can also clone a GitHub repository into your configured repos directory.
Minimal Configuration
Config lives at ~/.config/mux-sesh/config.json.
{
"project_paths": ["~/dev", "~/personal"],
"repos_path": "~/dev/repos",
"keybind_mode": "vim",
"prefix_key": "ctrl+x",
"theme": "rosepine",
"default_session": {
"startup_command": "nvim"
}
}Full configuration reference: docs/configuration.md
Essential Keys
Default mode is vim.
| Key | Action |
| ----------- | --------------------- |
| j / k | Move |
| Enter | Attach or create |
| i | Search |
| n | New session |
| d | Kill selected session |
| 1-9 | Quick select |
| Ctrl+P | Open command palette |
| q / Esc | Quit |
With the default prefix key, secondary actions live behind ctrl+x:
ctrl+x ssessionsctrl+x pprojectsctrl+x llast sessionctrl+x ggit root sessionctrl+x rrename sessionctrl+x eedit configured targetctrl+x Shift+Rrefresh
In vim mode, s and p are also available as direct view switches.
Full keybinding reference: docs/keybindings.md
Docs
Development
bun install
bun run typecheck
bun testUse bun run build only when you need the compiled binary in dist/mux-sesh.
License
MIT. See LICENSE.
Related
- mux-manager for Telescope-based tmux session management inside Neovim
- Built with OpenTUI
