Last active
July 10, 2024 16:07
-
-
Save devdrops/1760835e0497221d2c7fc192b5bac93f to your computer and use it in GitHub Desktop.
Tmuxinator padrão
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /path/to/tmuxinator/default.yml | |
name: session_name | |
root: /path/to/project/dir | |
on_project_start: | |
- git fetch --all | |
- ctags | |
startup_window: VIM | |
windows: | |
- VIM: vim . | |
- ENV: | |
layout: even-vertical | |
panes: | |
- WATCH_IMAGES: | |
- watchImages | |
- WATCH_PORTS: | |
- tmux resize-pane -t 1.0 -U 10 | |
- tmux split-window -t 1.1 -v | |
- tmux split-window -t 1.1 -h | |
- tumx resize-pane -t 1.1 -L 10 | |
- tmux send-keys -t 1.1 "watchListen" Enter | |
- GIT: | |
layout: main-horizontal | |
panes: | |
- CURRENT_STATUS: | |
- git status -u | |
- FILES_AND_TIME: | |
- tmux split-window -t 2.1 -h | |
- tmux resize-pane -t 2.1 -R 40 | |
- tmux clock-mode -t 2.2 | |
- tmux send-keys -t 2.1 "git diff origin/develop...`git rev-parse --abbrev-ref HEAD` --name-only --diff-filter=AM" Enter | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment