Skip to content

Add commands for window management #282

@GlitchedCode

Description

@GlitchedCode

What would you like sesh to do?

Add commands for listing and creating windows in the current tmux session that work in a similar way to their equivalent for sessions. This would be helpful for quickly spinning up windows that point to some directory and group them in the same session.

Hypothetically speaking, the sesh list-windows command would return a similar output to sesh list but listing windows in the current session instead of sessions in the current tmux server. Similarly the sesh window (or sesh connect -w window) command would either switch the view to an existing window or create a new window that points to a given path. I found this should be within the possibilities of tmux by doing tmux new-window -n $(basename $SOMEPATH) -c $SOMEPATH

Finally, i think this wouldn't overly expand the scope of the project since developments regarding windows were integrated in #237

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions