Skip to content

Instantly share code, notes, and snippets.

@rafi
Created April 14, 2021 18:43
Show Gist options
  • Save rafi/bf68f6c95ab0a1cfc006dcf6b7e7b137 to your computer and use it in GitHub Desktop.
Save rafi/bf68f6c95ab0a1cfc006dcf6b7e7b137 to your computer and use it in GitHub Desktop.
Tmuxp project config example
---
session_name: acme-api
start_directory: ./
suppress_history: false
windows:
- window_name: edit
focus: true
panes:
- nvim -S $XDG_DATA_HOME/session/acme-api.vim
- window_name: git
panes:
- shell_command:
- git status -sb
- git log --graph --all
--pretty='%C(240)%h%C(reset) -%C(auto)%d%Creset %s %C(242)(%an %ar)'
- window_name: api
layout: main-vertical
panes:
- shell_command:
- sleep 4
- pgcli -h localhost -U user -d acme
- SET search_path = public;
- \dn; \dt public.*
- docker-compose up db redis
- find . -name '*py' | entr -r docker-compose up api
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment