summaryrefslogtreecommitdiffstats
path: root/tmuxinator
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@x220.lan>2020-09-06 16:48:05 +0100
committerMatthew Lemon <lemon@x220.lan>2020-09-06 16:48:05 +0100
commite4640e28c8449eea66392052bfab57ce0cdd27f9 (patch)
tree2be81b55bc37da60599f4e6d434e74a57694962e /tmuxinator
first commit
Diffstat (limited to 'tmuxinator')
-rw-r--r--tmuxinator/aphids.yml49
-rw-r--r--tmuxinator/bcompiler_tmux.yml55
-rw-r--r--tmuxinator/epm.yml47
-rw-r--r--tmuxinator/general.yml36
-rw-r--r--tmuxinator/xldigest.yml47
5 files changed, 234 insertions, 0 deletions
diff --git a/tmuxinator/aphids.yml b/tmuxinator/aphids.yml
new file mode 100644
index 0000000..89320fb
--- /dev/null
+++ b/tmuxinator/aphids.yml
@@ -0,0 +1,49 @@
+# ~/.tmuxinator/xldigest_pyqt_tmux.yml
+
+name: aphids
+root: ~/code/python/aphids-api
+
+# Optional tmux socket
+# socket_name: foo
+
+# Runs before everything. Use it to start daemons etc.
+# pre: sudo /etc/rc.d/mysqld start
+
+# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
+# pre_window: rbenv shell 2.0.0-p247
+
+# Pass command line options to tmux. Useful for specifying a different tmux.conf.
+# tmux_options: -f ~/.tmux.mac.conf
+
+# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
+# tmux_command: byobu
+
+# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
+# startup_window: editor
+
+# Specitifes (by index) which pane of the specified window will be selected on project startup. If not set, the first pane is used.
+# startup_pane: 1
+
+# Controls whether the tmux session should be attached to automatically. Defaults to true.
+# attach: false
+
+# Runs after everything. Use it to attach to tmux with custom options etc.
+# post: tmux -CC attach -t xldigest_pyqt_tmux
+
+windows:
+ - code:
+ - vf activate aphids-api; cd ~/code/python/aphids-api
+ - cd ~/code/python/aphids-api
+ - clear
+ - runner:
+ - vf activate aphids-api; cd ~/code/python/aphids-api
+ - cd ~/code/python/aphids-api
+ - clear
+ - db:
+ - vf activate aphids-api; cd ~/code/python/aphids-api
+ - cd ~/code/python/aphids-api
+ - psql aphids_api
+ - http:
+ - vf activate aphids-api; cd ~/code/python/aphids-api
+ - cd ~/code/python/aphids-api
+
diff --git a/tmuxinator/bcompiler_tmux.yml b/tmuxinator/bcompiler_tmux.yml
new file mode 100644
index 0000000..0e6044c
--- /dev/null
+++ b/tmuxinator/bcompiler_tmux.yml
@@ -0,0 +1,55 @@
+# ~/.tmuxinator/bcompiler_tmux.yml
+
+name: bcompiler_tmux
+root: ~/code/python/bcompiler
+
+# Optional tmux socket
+# socket_name: foo
+
+# Runs before everything. Use it to start daemons etc.
+# pre: sudo /etc/rc.d/mysqld start
+
+# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
+# pre_window: rbenv shell 2.0.0-p247
+
+# Pass command line options to tmux. Useful for specifying a different tmux.conf.
+# tmux_options: -f ~/.tmux.mac.conf
+
+# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
+# tmux_command: byobu
+
+# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
+# startup_window: editor
+
+# Specitifes (by index) which pane of the specified window will be selected on project startup. If not set, the first pane is used.
+# startup_pane: 1
+
+# Controls whether the tmux session should be attached to automatically. Defaults to true.
+# attach: false
+
+# Runs after everything. Use it to attach to tmux with custom options etc.
+# post: tmux -CC attach -t bcompiler_tmux
+
+windows:
+ - code:
+ - vf activate bcompiler-python36; cd ~/code/python/bcompiler/bcompiler
+ - test:
+ - vf activate bcompiler-python36; cd ~/code/python/bcompiler/bcompiler
+ - clear
+ - runner:
+ - vf activate bcompiler-python36; cd ~/code/python/bcompiler/bcompiler
+ - clear
+ - git st
+ - repl:
+ - vf activate bcompiler-python36; cd ~/code/python/bcompiler/bcompiler
+ - clear
+ - ptpython
+ - source:
+ - cd ~/Documents/bcompiler/source
+ - clear
+ - logs:
+ layout: even-horizontal
+ panes:
+ - logs:
+ - tail -f ~/Documents/bcompiler/output/bcompiler.log
+
diff --git a/tmuxinator/epm.yml b/tmuxinator/epm.yml
new file mode 100644
index 0000000..9f6f5bb
--- /dev/null
+++ b/tmuxinator/epm.yml
@@ -0,0 +1,47 @@
+# ~/.tmuxinator/bcompiler_tmux.yml
+
+name: epm
+root: ~/code/python/epm
+
+# Optional tmux socket
+# socket_name: foo
+
+# Runs before everything. Use it to start daemons etc.
+# pre: sudo /etc/rc.d/mysqld start
+
+# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
+# pre_window: rbenv shell 2.0.0-p247
+
+# Pass command line options to tmux. Useful for specifying a different tmux.conf.
+# tmux_options: -f ~/.tmux.mac.conf
+
+# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
+# tmux_command: byobu
+
+# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
+# startup_window: editor
+
+# Specitifes (by index) which pane of the specified window will be selected on project startup. If not set, the first pane is used.
+# startup_pane: 1
+
+# Controls whether the tmux session should be attached to automatically. Defaults to true.
+# attach: false
+
+# Runs after everything. Use it to attach to tmux with custom options etc.
+# post: tmux -CC attach -t bcompiler_tmux
+
+windows:
+ - code:
+ - source ~/.virtualenvs/epm/bin/activate && cd ~/code/python/epm/
+ - clear
+ - test:
+ - source ~/.virtualenvs/epm/bin/activate && cd ~/code/python/epm/
+ - clear
+ - runner:
+ - source ~/.virtualenvs/epm/bin/activate && cd ~/code/python/epm/
+ - clear
+ - git st
+ - repl:
+ - source ~/.virtualenvs/epm/bin/activate && cd ~/code/python/epm/
+ - clear
+ - ptpython
diff --git a/tmuxinator/general.yml b/tmuxinator/general.yml
new file mode 100644
index 0000000..f6da6a5
--- /dev/null
+++ b/tmuxinator/general.yml
@@ -0,0 +1,36 @@
+# ~/.tmuxinator/general.yml
+
+name: general
+root: ~/
+
+# Optional tmux socket
+# socket_name: foo
+
+# Runs before everything. Use it to start daemons etc.
+# pre: sudo /etc/rc.d/mysqld start
+
+# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
+# pre_window: rbenv shell 2.0.0-p247
+
+# Pass command line options to tmux. Useful for specifying a different tmux.conf.
+# tmux_options: -f ~/.tmux.mac.conf
+
+# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
+# tmux_command: byobu
+
+# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
+# startup_window: editor
+
+# Specitifes (by index) which pane of the specified window will be selected on project startup. If not set, the first pane is used.
+# startup_pane: 1
+
+# Controls whether the tmux session should be attached to automatically. Defaults to true.
+# attach: false
+
+# Runs after everything. Use it to attach to tmux with custom options etc.
+# post: tmux -CC attach -t bcompiler_tmux
+
+windows:
+ - music:
+ - mpsyt
+ - shell:
diff --git a/tmuxinator/xldigest.yml b/tmuxinator/xldigest.yml
new file mode 100644
index 0000000..392f2b4
--- /dev/null
+++ b/tmuxinator/xldigest.yml
@@ -0,0 +1,47 @@
+# ~/.tmuxinator/xldigest_pyqt_tmux.yml
+
+name: xldigest
+root: ~/code/python/xldigest
+
+# Optional tmux socket
+# socket_name: foo
+
+# Runs before everything. Use it to start daemons etc.
+# pre: sudo /etc/rc.d/mysqld start
+
+# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
+# pre_window: rbenv shell 2.0.0-p247
+
+# Pass command line options to tmux. Useful for specifying a different tmux.conf.
+# tmux_options: -f ~/.tmux.mac.conf
+
+# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
+# tmux_command: byobu
+
+# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
+# startup_window: editor
+
+# Specitifes (by index) which pane of the specified window will be selected on project startup. If not set, the first pane is used.
+# startup_pane: 1
+
+# Controls whether the tmux session should be attached to automatically. Defaults to true.
+# attach: false
+
+# Runs after everything. Use it to attach to tmux with custom options etc.
+# post: tmux -CC attach -t xldigest_pyqt_tmux
+
+windows:
+ - code:
+ - vf activate xldigest_pyqt; cd ~/code/python/xldigest
+ - cd ~/code/python/xldigest
+ - clear
+ - runner:
+ - vf activate xldigest_pyqt; cd ~/code/python/xldigest
+ - cd ~/code/python/xldigest
+ - clear
+ - repl:
+ - vf activate xldigest_pyqt; cd ~/code/python/xldigest
+ - cd ~/code/python/xldigest
+ - clear
+ - ptpython
+