Skip to content

Add Pane Support To Window Configuration #302

@joshmedeski

Description

@joshmedeski

What would you like sesh to do?

Extend the window configuration to support the ability to customize multiple panes on a window:

[[session]]
name = "tmux config"
path = "~/c/dotfiles/.config/tmux"
startup_command = "nvim tmux.conf"
preview_command = "bat --color=always ~/c/dotfiles/.config/tmux/tmux.conf"
windows = ["git", "dev"]

[[window]]
name = "git"
layout = "main-vertical"  # or "tiled", "even-horizontal", "even-vertical"
panes = ["main", "status", "logs"]

[[pane]]
name = "main"
window = "git"
startup_command = "git pull"
focus = true

[[pane]]
name = "status"
window = "git"
startup_command = "git status"

[[pane]]
name = "logs"
window = "git"
startup_command = "git log --oneline -10"

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

Status

Next

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions