File tree 2 files changed +62
-0
lines changed
2 files changed +62
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "session_name" : " Pane shell example" ,
3
+ "windows" : [
4
+ {
5
+ "window_name" : " first" ,
6
+ "window_shell" : " /usr/bin/python2" ,
7
+ "layout" : " even-vertical" ,
8
+ "suppress_history" : false ,
9
+ "options" : {
10
+ "remain-on-exit" : true
11
+ },
12
+ "panes" : [
13
+ {
14
+ "shell" : " /usr/bin/python3" ,
15
+ "shell_command" : [
16
+ " print('This is python 3')"
17
+ ]
18
+ },
19
+ {
20
+ "shell" : " /usr/bin/vim -u none" ,
21
+ "shell_command" : [
22
+ " iAll panes have the `remain-on-exit` setting on." ,
23
+ " When you exit out of the shell or application, the panes will remain." ,
24
+ " Use tmux command `:kill-pane` to remove the pane." ,
25
+ " Use tmux command `:respawn-pane` to restart the shell in the pane." ,
26
+ " Use <Escape> and then `:q!` to get out of this vim window. :-)"
27
+ ]
28
+ },
29
+ {
30
+ "shell_command" : [
31
+ " print('Hello World 2')"
32
+ ]
33
+ },
34
+ {
35
+ "shell" : " /usr/bin/top"
36
+ }
37
+ ]
38
+ }
39
+ ]
40
+ }
Original file line number Diff line number Diff line change
1
+ session_name : Pane shell example
2
+ windows :
3
+ - window_name : first
4
+ window_shell : /usr/bin/python2
5
+ layout : even-vertical
6
+ suppress_history : false
7
+ options :
8
+ remain-on-exit : true
9
+ panes :
10
+ - shell : /usr/bin/python3
11
+ shell_command :
12
+ - print('This is python 3')
13
+ - shell : /usr/bin/vim -u none
14
+ shell_command :
15
+ - iAll panes have the `remain-on-exit` setting on.
16
+ - When you exit out of the shell or application, the panes will remain.
17
+ - Use tmux command `:kill-pane` to remove the pane.
18
+ - Use tmux command `:respawn-pane` to restart the shell in the pane.
19
+ - Use <Escape> and then `:q!` to get out of this vim window. :-)
20
+ - shell_command :
21
+ - print('Hello World 2')
22
+ - shell : /usr/bin/top
You can’t perform that action at this time.
0 commit comments