@@ -32,14 +32,19 @@ Install ``tmuxp``:
32
32
33
33
See: `Quickstart `_
34
34
35
- tmux bash completion
36
- """"""""""""""""""""
35
+ CLI Commands
36
+ """"""""""""
37
37
38
38
tmuxp uses ``switch-client `` for you if already in a TMUX client.
39
39
40
40
.. code-block :: bash
41
41
42
42
$ tmuxp attach-session< tab> # current sessions
43
+
44
+ Kill session
45
+
46
+ .. code-block :: bash
47
+
43
48
$ tmuxp kill-session< tab> # current sessions
44
49
45
50
Load a session configuration from a YAML or JSON file.
@@ -54,7 +59,15 @@ Convert a session config JSON <=> YAML:
54
59
55
60
$ tmuxp convert< tab> # configs in config dir, current directory
56
61
57
- See: `installing bash completion `_
62
+ Experimental: Import configuration from `teamocil `_ or `tmuxinator `_:
63
+
64
+ .. code-block :: bash
65
+
66
+ $ tmuxp import teamocil< tab> # configs in ~/.teamocil dir
67
+ $ tmuxp import tmuxinator< tab> # configs in ~/.tmuxinator dir
68
+
69
+ See `installing bash completion `_ to get bash, zsh and tcsh completion
70
+ working on your machine.
58
71
59
72
load tmux sessions from yaml and json
60
73
"""""""""""""""""""""""""""""""""""""
@@ -65,12 +78,20 @@ Load from ``~/.tmuxp.yaml`` or ``~/.tmuxp.json`` in current directory.
65
78
66
79
$ tmuxp load .
67
80
68
- Load ``myconfig.yaml ``.
81
+ Load ``myconfig.yaml `` from `` ~/.tmuxp ``
69
82
70
83
.. code-block :: bash
71
84
72
85
$ tmuxp load myconfig.yaml
73
86
87
+ Load a relative or full config file (bash complete supports this too)
88
+
89
+ .. code-block :: bash
90
+
91
+ $ tmuxp load ./myconfig.yaml
92
+ $ tmuxp load ../myconfig.yaml
93
+ $ tmuxp load /var/www/mywebproject/myconfig.yaml
94
+
74
95
``$ mkdir ~/.tmuxp `` and make a file ``~/.tmuxp/test.yaml ``.
75
96
76
97
.. code-block :: yaml
0 commit comments