Repository navigation
Replies: 5 comments 1 reply
|
Hey @Soleone, great question, and you're not missing much. The names just line up differently. In tuios, a session is closest to a herdr workspace, and each git worktree gets its own session. Workspaces 1 to 9 in tuios are a layer inside a session, more like virtual desktops for its panes. So for your setup, one session per project, and one more per worktree, is the intended shape. The rail's sessions tree already groups worktree sessions under their repository, labelled by branch, and you can fold a repo's group to hide its worktrees. To make one:
To move between them, [keybindings.global]
next_session = ["alt+shift+down"]
prev_session = ["alt+shift+up"]Two gaps compared to herdr, and both are coming:
Let me know how it feels after that. Running 8 projects plus worktrees is exactly the kind of setup I want this to handle well. |
|
Awesome, thank you so much for the thoughtful explanation and the speedy implementation of the missing feature for that flow! I tested it and works great. Just re-organizing everything but so far it's looking really good! |
|
@Soleone #1157 just landed, so main can now sit at the top of its worktree group ( |
|
Closing this since the whole flow is in: |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I am used to the way herdr handles worktrees. I really like that I just needed Leader key + Shift + g to create a new worktree and then name the branch (e.g. i just call them, 2, 3, ...), and then from the main workspace i can just navigate down through the worktree workspaces. And I can even fold main and hide the other worktree if I'm not actively working in that project.
In tuios it seems to be set up to automatically create sessions? Generally I'm used to only using a single session.
For additional context, I have both in herdr and now tuios assigned Alt + Shift + arrows to move between workspaces, just Alt + arrows to move between panes. In herdr I often have around 8 projects open across 8 workspaces and then some with multiple worktrees so a few more workspaces.
Am I missing something, e.g. that you should use multiple sessions, meaning I need another layer of switching? There it would make sense though to me that one project with multiple worktrees would be in the same session.
All reactions