Created
August 10, 2012 13:53
-
-
Save cloud8421/3314345 to your computer and use it in GitHub Desktop.
Tlux sample
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
# Declare you configuration in this file, below is a quick sample of what | |
# is possible. | |
# | |
window :editor do | |
split :vertical, percentage: 90 do | |
command "vim" | |
end | |
end | |
window :logs do | |
command "tail -f log/development.log" | |
end | |
window :console do | |
command "bundle exec rails c" | |
end |
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
# This file is automatically generated by tlux and should not be manually edited | |
# To make changes to your config edit the file at ~/.tlux/rails | |
source-file ~/.tmux.conf | |
new-session -s rails -n editor -d | |
send-keys -t rails 'cd /Users/cloud/Projects/new_bamboo/pokerfed-national' C-m | |
send-keys -t rails 'cd /Users/cloud/Projects/new_bamboo/pokerfed-national' C-m | |
split-window -v -p 90 -t rails | |
send-keys -t rails:1.1 'cd /Users/cloud/Projects/new_bamboo/pokerfed-national' C-m | |
send-keys -t rails:1.1 'vim' C-m | |
new-window -n logs -t rails | |
send-keys -t rails 'cd /Users/cloud/Projects/new_bamboo/pokerfed-national' C-m | |
send-keys -t rails 'tail -f log/development.log' C-m | |
new-window -n console -t rails | |
send-keys -t rails 'cd /Users/cloud/Projects/new_bamboo/pokerfed-national' C-m | |
send-keys -t rails 'bundle exec rails c' C-m | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment