1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
# ~/.tmuxinator/sample.yml
# you can make as many tabs as you wish...
name: sample
root: ~/test
socket_name: foo # Remove to use default socket
pre_window: rbenv shell 2.0.0-p247 # Runs in each tab and pane
tmux_options: -f ~/.tmux.mac.conf # Pass arguments to tmux
tmux_detached: false
windows:
- editor:
pre:
- echo "I get run in each pane, before each pane command!"
-
layout: main-vertical
panes:
- vim
- #empty, will just run plain bash
- top
- pane_with_multiple_commands:
- ssh server
- echo "Hello"
- shell:
- git pull
- git merge
- guard:
layout: tiled
pre:
- echo "I get run in each pane."
- echo "Before each pane command!"
panes:
-
- #empty, will just run plain bash
-
- database: bundle exec rails db
- server: bundle exec rails s
- logs: tail -f log/development.log
- console: bundle exec rails c
- capistrano:
- server: ssh user@example.com
|