Skip to content

Instantly share code, notes, and snippets.

@mtunjic
Created July 7, 2011 22:27
Show Gist options
  • Save mtunjic/1070692 to your computer and use it in GitHub Desktop.
Save mtunjic/1070692 to your computer and use it in GitHub Desktop.
Rails screen session (Vim and GNU Screen)
#
# Rails screen session
# Usage: screen -c ~/.rails.screen (add alias)
source ~/.screenrc
screen -t dev 0
split
resize 40
focus down
screen -t test 1 autotest -f
split -v
focus down
screen -t console 2 rails c
focus top
screen -t server 3 rails s
screen -t tail 4 tail -f log/development.log
screen -t misc 5
select 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment