Skip to content

Instantly share code, notes, and snippets.

@devdrops
Last active February 17, 2022 22:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devdrops/1760835e0497221d2c7fc192b5bac93f to your computer and use it in GitHub Desktop.
Save devdrops/1760835e0497221d2c7fc192b5bac93f to your computer and use it in GitHub Desktop.
Tmuxinator padrão
# /path/to/tmuxinator/default.yml
name: session_name
root: /path/to/project/dir
on_project_start: git fetch --all
startup_window: VIM
windows:
- VIM: vim .
- ENV:
layout: even-horizontal
panes:
- docker ps
- git status
- 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/main...`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