This repository has been archived by the owner on Jun 15, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmuxp.yaml
59 lines (55 loc) · 1.64 KB
/
.tmuxp.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# tmuxp load tmuxp.yaml
# tmux kill-session -t python-project
session_name: python-project
start_directory: ./
windows:
- window_name: editor
layout: main-horizontal
options:
automatic-rename: 'off'
main-pane-height: 40
panes:
- shell_command:
- bash -l
- source .venv/bin/activate
- cd pyarchops_os_updates
- ctags -R .
- vim .
focus: true
- shell_command:
- bash -l
- source .venv/bin/activate
- cd pyarchops_os_updates
- bpython
- window_name: tests
# https://github.com/tmux-python/tmuxp/issues/98#issuecomment-93997967
layout: 0c59,208x59,0,0[208x19,0,0,67,208x19,0,20,68,208x19,0,40,69]
options:
automatic-rename: 'off'
panes:
- shell_command:
- bash -l
- source .venv/bin/activate
- nice watchmedo shell-command --patterns="*.py" --ignore-patterns="./.venv/*;./;/pyarchops_os_updates-*" --recursive --command='make docs ' --drop
- shell_command:
- bash -l
- source .venv/bin/activate
- nice watchmedo shell-command --patterns="*.py" --ignore-patterns="./.venv/*;/pyarchops_os_updates-*" --recursive --command='make mypy lint ' --drop
- shell_command:
- bash -l
- source .venv/bin/activate
- nice watchmedo shell-command --patterns="*.py" --ignore-patterns="./.venv/*;/pyarchops_os_updates-*" --recursive --command='make pytest' --drop
- window_name: bash
layout: main-horizontal
panes:
- shell_command:
- bash -l
- source .venv/bin/activate
- cd pyarchops_os_updates
- shell_command:
- bash -l
- source .venv/bin/activate
- cd pyarchops_os_updates
- tmux select-window -t 0
- tmux select-pane -t 0
- reset