Skip to content

Commit 1a7002d

Browse files
committed
Reorganize examples.rst doc
1 parent 843a19e commit 1a7002d

File tree

1 file changed

+23
-17
lines changed

1 file changed

+23
-17
lines changed

doc/examples.rst

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ Examples
77
Short hand / inline
88
-------------------
99

10+
tmuxp has a short-hand syntax to for those who wish to keep their configs
11+
punctual.
12+
1013
.. sidebar:: short hand
1114

1215
.. aafig::
@@ -38,6 +41,9 @@ JSON
3841
Blank panes
3942
-----------
4043

44+
No need to repeat ``pwd`` or a dummy comment, just make a blank item,
45+
'blank', 'pane' are valid.
46+
4147
.. important::
4248

4349
In Development Version, see :ref:`Developing`. This will be released
@@ -55,6 +61,23 @@ JSON
5561
.. literalinclude:: ../examples/blank-panes.json
5662
:language: json
5763

64+
Start Directory
65+
---------------
66+
67+
Equivalent to ``tmux new-window -c <start-directory>``.
68+
69+
YAML
70+
""""
71+
72+
.. literalinclude:: ../examples/start_directory.yaml
73+
:language: yaml
74+
75+
JSON
76+
""""
77+
78+
.. literalinclude:: ../examples/start_directory.json
79+
:language: json
80+
5881
2 split panes
5982
-------------
6083

@@ -185,23 +208,6 @@ JSON
185208
.. literalinclude:: ../examples/main-pane-height.json
186209
:language: json
187210

188-
Start Directory
189-
---------------
190-
191-
Equivalent to ``tmux new-window -c <start-directory>``.
192-
193-
YAML
194-
""""
195-
196-
.. literalinclude:: ../examples/start_directory.yaml
197-
:language: yaml
198-
199-
JSON
200-
""""
201-
202-
.. literalinclude:: ../examples/start_directory.json
203-
:language: json
204-
205211
Super-advanced dev environment
206212
------------------------------
207213

0 commit comments

Comments
 (0)