feat: add tmux and tmuxp (#1)
Allow terminal multiplexing through [`tmux`][0] and make it configurable using [`tmuxp`][1]. [0]: https://github.com/tmux/tmux [1]: https://github.com/tmux-python/tmuxp Co-authored-by: Joao P Dubas <joao.dubas@gmail.com> Reviewed-on: #1 Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com> Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
This commit is contained in:
23
config/tmuxp/dev.yml
Normal file
23
config/tmuxp/dev.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
session_name: dev
|
||||
start_directory: /opt/work
|
||||
windows:
|
||||
- window_name: main
|
||||
layout: even-vertical
|
||||
focus: true
|
||||
panes:
|
||||
- focus: true
|
||||
- pane
|
||||
- window_name: support
|
||||
layout: even-vertical
|
||||
start_directory: support
|
||||
panes:
|
||||
- shell_command:
|
||||
- docker compose exec pgcli bash
|
||||
- pane
|
||||
- window_name: local
|
||||
layout: even-vertical
|
||||
start_directory: local
|
||||
panes:
|
||||
- pane
|
||||
- pane
|
15
config/tmuxp/work.yml
Normal file
15
config/tmuxp/work.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
session_name: personal
|
||||
start_directory: /opt/personal
|
||||
windows:
|
||||
- window_name: labs
|
||||
focus: true
|
||||
layout: even-vertical
|
||||
start_directory: labs/
|
||||
panes:
|
||||
- focus: true
|
||||
- pane
|
||||
- window_name: ide
|
||||
layout: even-vertical
|
||||
panes:
|
||||
- focus: true
|
||||
- pane
|
Reference in New Issue
Block a user