Skip to content

Instantly share code, notes, and snippets.

@englishm
Created March 1, 2012 21:15
Show Gist options
  • Save englishm/1953272 to your computer and use it in GitHub Desktop.
Save englishm/1953272 to your computer and use it in GitHub Desktop.
set up a session for trying examples from http://learnyouahaskell.com/chapters
bind-key H source-file ~/tm-haskell
new-session -d -s haskell
split-window -d -h -t haskell:1.0
split-window -d -t haskell:1.1
send-keys -t haskell:1.0 "cd /Users/english/code/haskell/ && vim baby.hs" Enter
send-keys -t haskell:1.1 "cd /Users/english/code/haskell/ && ghci" Enter
send-keys -t haskell:1.1 ":set prompt \"ghci> \"" Enter
send-keys -t haskell:1.2 "cd /Users/english/code/haskell/ && ./listen.rb" Enter
selectp -t haskell:1.0
switch-client -t haskell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment