Skip to content

The default behavior of tmux-sessionizer should allow you to switch between all tmux sessions #153

@emiara

Description

@emiara

Currently:
Running tms without subcommands only creates sessions based on git repositories from configured directories. This means it only handles repo-related sessions—both existing and new ones.

The only command which is implemented for non repo/bookmark-sessions is the tms switch command(With --switch-filter-unknown false)

Issues with the Current Approach

  1. Limited Session Switching

    $ tms sessions                # Lists all running tmux sessions ✅
    $ tms open-session {name}     # Fails for non-repo sessions     ❌
    $ tmux a -t {name}            # Works manually                  🙄

    It should be possible to open any session listed by tms sessions.

  2. Bookmark Limitations
    Although bookmarks can achieve similar functionality, they force you to use a different directory for each session. This means you can’t have two sessions in the same directory (e.g., your home directory).

  3. Real-World Use Cases Are Ignored

    • Many users run long-lived sessions like sysadmin, monitoring, or remote sessions.
    • Users also create temporary sessions for one-off tasks (system updates, configuration changes, etc.) that aren’t related to any git repo.

    These sessions are important enough that they shouldn’t require bookmarking.

Although the git repo integration is maybe the main pulling factor of this tool, a tmux_sessionizer should not be limited to that. The tool should support switching between all tmux sessions by default.
If not it should be renamed to repo_tmuxinizer!/s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions