tmuxp search¶
Search for workspace configurations by name or content across your tmuxp directories.
Command¶
Search workspace files by name, session, path, window, or pane content.
Usage¶
usage: tmuxp search [-h] [-f FIELD] [-i] [-S] [-F] [-w] [-v] [--any] [--json] [--ndjson] [PATTERN ...]
Examples¶
$ tmuxp search dev
$ tmuxp search "my.*project"
$ tmuxp search name:dev
$ tmuxp search s:development
Field-Scoped Search¶
$ tmuxp search window:editor
$ tmuxp search pane:vim
$ tmuxp search p:~/.tmuxp
Matching Options¶
$ tmuxp search -i DEV
$ tmuxp search -S DevProject
$ tmuxp search -F 'my.project'
$ tmuxp search --word-regexp test
Multiple Patterns¶
$ tmuxp search dev production
$ tmuxp search --any dev production
$ tmuxp search -v staging
Machine-Readable Output Examples¶
$ tmuxp search --json dev
$ tmuxp search --ndjson dev | jq '.name'
Positional Arguments¶
- query_terms PATTERN¶
search patterns (prefix with field: for field-scoped search)
Options¶
- -f, --field FIELD¶
restrict search to field(s): name, session/s, path/p, window/w, pane
- -i, --ignore-case¶
case-insensitive matching
- -S, --smart-case¶
case-insensitive unless pattern has uppercase
- -F, --fixed-strings¶
treat patterns as literal strings, not regex
- -w, --word-regexp¶
match whole words only
- -v, --invert-match¶
show workspaces that do NOT match
- --any¶
match ANY pattern (OR logic); default is ALL (AND logic)
- --json¶
output as JSON
- --ndjson¶
output as NDJSON (one JSON per line)