Skip to content

Commit a1bc554

Browse files
committed
Update .tmuxp.yaml and .tmuxp.json to focus on first window first
1 parent 90cd0f7 commit a1bc554

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

.tmuxp.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,17 @@
2323
]
2424
}
2525
],
26+
"options": {
27+
"main-pane-height": 35
28+
},
29+
"layout": "main-horizontal",
2630
"shell_command_before": [
2731
"command -v virtualenv >/dev/null 2>&1 || { pip install virtualenv; }",
2832
"[ -d .env -a -f .env/bin/activate ] && source .env/bin/activate || virtualenv .env",
2933
"[ ! -d .env/build ] || rm -rf .env/build"
3034
],
31-
"layout": "main-horizontal",
32-
"window_name": "tmuxp",
33-
"options": {
34-
"main-pane-height": 35
35-
}
35+
"focus": true,
36+
"window_name": "tmuxp"
3637
},
3738
{
3839
"panes": [
@@ -50,7 +51,7 @@
5051
"shell_command": [
5152
"command -v sphinx-quickstart >/dev/null 2>&1 || { pip install -r requirements.pip; }",
5253
"command -v watching_testrunner >/dev/null 2>&1 || { pip install watching_testrunner; }",
53-
"watching_testrunner --basepath ./ --pattern=\"*.rst\" 'make html'",
54+
"watching_testrunner --basepath ./ --pattern=\"*.rst\" 'make html'"
5455
]
5556
}
5657
],
@@ -70,4 +71,4 @@
7071
],
7172
"session_name": "tmuxp",
7273
"start_directory": "./"
73-
}
74+
}

.tmuxp.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ session_name: tmuxp
22
start_directory: ./ # load session relative to config location (project root).
33
windows:
44
- window_name: tmuxp
5+
focus: True
56
layout: main-horizontal
67
options:
78
main-pane-height: 35

0 commit comments

Comments
 (0)