File tree Expand file tree Collapse file tree 5 files changed +120
-0
lines changed Expand file tree Collapse file tree 5 files changed +120
-0
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,36 @@ JSON
104104 :language: json
105105
106106
107+ Automatic Rename
108+ ----------------
109+
110+ YAML
111+ """"
112+
113+ .. literalinclude :: ../examples/automatic-rename.yaml
114+ :language: yaml
115+
116+ JSON
117+ """"
118+
119+ .. literalinclude :: ../examples/automatic-rename.json
120+ :language: json
121+
122+ Main pane height
123+ ----------------
124+
125+ YAML
126+ """"
127+
128+ .. literalinclude :: ../examples/main-pane-height.yaml
129+ :language: yaml
130+
131+ JSON
132+ """"
133+
134+ .. literalinclude :: ../examples/main-pane-height.json
135+ :language: json
136+
107137Super-advanced dev environment
108138------------------------------
109139
Original file line number Diff line number Diff line change 1+ {
2+ "windows" : [
3+ {
4+ "panes" : [
5+ {
6+ "shell_command" : [
7+ " man echo"
8+ ],
9+ "start_directory" : " ~"
10+ },
11+ {
12+ "shell_command" : [
13+ " echo \" hey\" "
14+ ]
15+ },
16+ {
17+ "shell_command" : [
18+ " echo \" moo\" "
19+ ]
20+ }
21+ ],
22+ "layout" : " main-horizontal" ,
23+ "options" : {
24+ "automatic-rename" : true
25+ }
26+ }
27+ ],
28+ "session_name" : " test window options" ,
29+ "start_directory" : " ~"
30+ }
Original file line number Diff line number Diff line change 1+ session_name : test window options
2+ start_directory : ' ~'
3+ windows :
4+ - layout : main-horizontal
5+ options :
6+ automatic-rename : on
7+ panes :
8+ - shell_command :
9+ - man echo
10+ start_directory : ' ~'
11+ - shell_command :
12+ - echo "hey"
13+ - shell_command :
14+ - echo "moo"
Original file line number Diff line number Diff line change 1+ {
2+ "windows" : [
3+ {
4+ "panes" : [
5+ {
6+ "shell_command" : [
7+ " vim"
8+ ],
9+ "start_directory" : " ~"
10+ },
11+ {
12+ "shell_command" : [
13+ " echo \" hey\" "
14+ ]
15+ },
16+ {
17+ "shell_command" : [
18+ " echo \" moo\" "
19+ ]
20+ }
21+ ],
22+ "layout" : " main-horizontal" ,
23+ "options" : {
24+ "main-pane-height" : 30
25+ },
26+ "window_name" : " editor"
27+ }
28+ ],
29+ "session_name" : " main pane height" ,
30+ "start_directory" : " ~"
31+ }
Original file line number Diff line number Diff line change 1+ session_name : main-pane-height
2+ start_directory : ' ~'
3+ 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
You can’t perform that action at this time.
0 commit comments