Skip to content

Commit 7a9e303

Browse files
committed
Run prettier on yaml examples
1 parent e6efd2e commit 7a9e303

19 files changed

+188
-190
lines changed

examples/2-pane-synchronized.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ session_name: 2-pane-synchronized
22
windows:
33
- window_name: Two synchronized panes
44
panes:
5-
- ssh server1
6-
- ssh server2
5+
- ssh server1
6+
- ssh server2
77
options_after:
88
synchronize-panes: on

examples/3-pane.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
session_name: 3-panes
22
windows:
3-
- window_name: dev window
4-
layout: main-vertical
5-
shell_command_before:
6-
- cd ~/
7-
panes:
8-
- shell_command:
9-
- cd /var/log
10-
- ls -al | grep \.log
11-
- echo hello
12-
- echo hello
3+
- window_name: dev window
4+
layout: main-vertical
5+
shell_command_before:
6+
- cd ~/
7+
panes:
8+
- shell_command:
9+
- cd /var/log
10+
- ls -al | grep \.log
11+
- echo hello
12+
- echo hello

examples/4-pane.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
session_name: 4-pane-split
22
windows:
3-
- window_name: dev window
4-
layout: tiled
5-
shell_command_before:
6-
- cd ~/
7-
panes:
8-
- shell_command:
9-
- cd /var/log
10-
- ls -al | grep \.log
11-
- echo hello
12-
- echo hello
13-
- echo hello
3+
- window_name: dev window
4+
layout: tiled
5+
shell_command_before:
6+
- cd ~/
7+
panes:
8+
- shell_command:
9+
- cd /var/log
10+
- ls -al | grep \.log
11+
- echo hello
12+
- echo hello
13+
- echo hello

examples/blank-panes.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,24 @@ windows:
44
# All these are equivalent
55
- window_name: Blank pane test
66
panes:
7-
-
8-
- pane
9-
- blank
7+
-
8+
- pane
9+
- blank
1010
- window_name: More blank panes
1111
panes:
12-
- null
13-
- shell_command:
14-
- shell_command:
15-
-
12+
- null
13+
- shell_command:
14+
- shell_command:
15+
-
1616
# an empty string will be treated as a carriage return
1717
- window_name: Empty string (return)
1818
panes:
19-
- ''
20-
- shell_command: ''
21-
- shell_command:
22-
- ''
19+
- ""
20+
- shell_command: ""
21+
- shell_command:
22+
- ""
2323
# a pane can have other options but still be blank
2424
- window_name: Blank with options
2525
panes:
26-
- focus: true
27-
- start_directory: /tmp
26+
- focus: true
27+
- start_directory: /tmp

examples/env-variables.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ shell_command_before: "echo ${PWD}"
33
before_script: "${MY_ENV_VAR}/test3.sh"
44
session_name: session - ${USER} (${MY_ENV_VAR})
55
windows:
6-
- window_name: editor
7-
panes:
8-
- shell_command:
9-
- tail -F /var/log/syslog
10-
start_directory: /var/log
11-
- window_name: logging for ${USER}
12-
options:
13-
automatic-rename: true
14-
panes:
15-
- shell_command:
16-
- htop
17-
- ls $PWD
6+
- window_name: editor
7+
panes:
8+
- shell_command:
9+
- tail -F /var/log/syslog
10+
start_directory: /var/log
11+
- window_name: logging for ${USER}
12+
options:
13+
automatic-rename: true
14+
panes:
15+
- shell_command:
16+
- htop
17+
- ls $PWD

examples/focus-window-and-panes.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@ windows:
33
- window_name: attached window
44
focus: true
55
panes:
6-
- shell_command:
7-
- echo hello
8-
- echo 'this pane should be selected on load'
9-
focus: true
10-
- shell_command:
11-
- cd /var/log
12-
- echo hello
6+
- shell_command:
7+
- echo hello
8+
- echo 'this pane should be selected on load'
9+
focus: true
10+
- shell_command:
11+
- cd /var/log
12+
- echo hello
1313
- window_name: second window
1414
shell_command_before: cd /var/log
1515
panes:
16-
- pane
17-
- shell_command:
18-
- echo 'this pane should be focused, when window switched to first time'
19-
focus: true
20-
- pane
16+
- pane
17+
- shell_command:
18+
- echo 'this pane should be focused, when window switched to first time'
19+
focus: true
20+
- pane

examples/main-pane-height.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
session_name: main-pane-height
2-
start_directory: '~'
2+
start_directory: "~"
33
windows:
4-
- layout: main-horizontal
5-
options:
6-
main-pane-height: 30
7-
panes:
8-
- shell_command:
9-
- top
10-
start_directory: '~'
11-
- shell_command:
12-
- echo "hey"
13-
- shell_command:
14-
- echo "moo"
15-
window_name: my window name
4+
- layout: main-horizontal
5+
options:
6+
main-pane-height: 30
7+
panes:
8+
- shell_command:
9+
- top
10+
start_directory: "~"
11+
- shell_command:
12+
- echo "hey"
13+
- shell_command:
14+
- echo "moo"
15+
window_name: my window name

examples/minimal.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
session_name: My tmux session
22
windows:
33
- panes:
4-
-
4+
-

examples/options.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
session_name: test window options
2-
start_directory: '~'
2+
start_directory: "~"
33
global_options:
44
default-shell: /bin/sh
55
default-command: /bin/sh
66
options:
7-
main-pane-height: ${MAIN_PANE_HEIGHT} # works with env variables
7+
main-pane-height: ${MAIN_PANE_HEIGHT} # works with env variables
88
windows:
9-
- layout: main-horizontal
10-
options:
11-
automatic-rename: on
12-
panes:
13-
- shell_command:
14-
- man echo
15-
start_directory: '~'
16-
- shell_command:
17-
- echo "hey"
18-
- shell_command:
19-
- echo "moo"
9+
- layout: main-horizontal
10+
options:
11+
automatic-rename: on
12+
panes:
13+
- shell_command:
14+
- man echo
15+
start_directory: "~"
16+
- shell_command:
17+
- echo "hey"
18+
- shell_command:
19+
- echo "moo"

examples/plugin-system.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
session_name: plugin-system
22
plugins:
3-
- 'tmuxp_plugin_extended_build.plugin.PluginExtendedBuild'
3+
- "tmuxp_plugin_extended_build.plugin.PluginExtendedBuild"
44
windows:
5-
- window_name: editor
6-
layout: tiled
7-
shell_command_before:
8-
- cd ~/
9-
panes:
10-
- shell_command:
11-
- cd /var/log
12-
- ls -al | grep *.log
13-
- echo "hello world"
5+
- window_name: editor
6+
layout: tiled
7+
shell_command_before:
8+
- cd ~/
9+
panes:
10+
- shell_command:
11+
- cd /var/log
12+
- ls -al | grep *.log
13+
- echo "hello world"

0 commit comments

Comments
 (0)