File tree Expand file tree Collapse file tree 3 files changed +74
-0
lines changed Expand file tree Collapse file tree 3 files changed +74
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,18 @@ Examples
7
7
2 split panes
8
8
-------------
9
9
10
+ .. aafig ::
11
+
12
+ +--------+--------+
13
+ | $ pwd |
14
+ | |
15
+ | |
16
+ +-----------------+
17
+ | $ pwd |
18
+ | |
19
+ | |
20
+ +-----------------+
21
+
10
22
YAML - Short form:
11
23
12
24
.. literalinclude :: ../examples/2-pane-vertical.yaml
@@ -17,6 +29,43 @@ YAML - Christmas Tree:
17
29
.. literalinclude :: ../examples/2-pane-vertical-long.yaml
18
30
:language: yaml
19
31
32
+ 3 panes
33
+ -------
34
+
35
+ .. aafig ::
36
+
37
+ +--------+--------+
38
+ | $ pwd | $ pwd |
39
+ | | |
40
+ | | |
41
+ +--------+--------+
42
+ | $ pwd | $ pwd |
43
+ | | |
44
+ | | |
45
+ +--------+--------+
46
+
47
+ .. literalinclude :: ../examples/3-pane.yaml
48
+ :language: yaml
49
+
50
+ 4 panes
51
+ -------
52
+
53
+ .. aafig ::
54
+
55
+ +-----------------+
56
+ | $ pwd |
57
+ | |
58
+ | |
59
+ +--------+--------+
60
+ | $ pwd | $ pwd |
61
+ | | |
62
+ | | |
63
+ +--------+--------+
64
+
65
+
66
+ .. literalinclude :: ../examples/4-pane.yaml
67
+ :language: yaml
68
+
20
69
Kung fu
21
70
-------
22
71
Original file line number Diff line number Diff line change
1
+ session_name : 3-pane
2
+ 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
+ - pwd
12
+ - pwd
Original file line number Diff line number Diff line change
1
+ session_name : 4-pane-split
2
+ 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
+ - pwd
12
+ - pwd
13
+ - pwd
You can’t perform that action at this time.
0 commit comments