core

package
v0.12.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyLayout

func ApplyLayout(server *tmux.Server, initialSession tmux.Session, layout tmuxp.Layout) error

ApplyLayout applies a tmuxp layout configuration

Supports multiple windows with multiple panes

func BuildEntries

func BuildEntries(config model.Config) ([]model.Entry, error)

BuildEntries creates a list of all searchable entries based on configuration

func EntriesFromDir

func EntriesFromDir(dir string, ignore []string, rooterPatterns []string) ([]model.Entry, error)

EntriesFromDir finds all project directories within a given directory that match the rooter patterns, ignoring specified directories

func EntryFromSearchEntry added in v0.10.0

func EntryFromSearchEntry(se model.SearchEntry) model.Entry

EntryFromSearchEntry creates an entry from a SearchEntry. If the entry has a custom name, it is used as the label. Otherwise, the label is derived from the base of the path.

func StartSession

func StartSession(name string, path string, layout string, layoutPath string, configDir string) error

StartSession creates or attaches to a tmux session with the given name and path. If no local .sessionizer.yml exists, it resolves a layout from the direct layoutPath, or from a named layout file at configDir/layouts/<layout>.yml.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL