Skip to content

Instantly share code, notes, and snippets.

@yortz
Created April 5, 2013 15:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yortz/5320367 to your computer and use it in GitHub Desktop.
Save yortz/5320367 to your computer and use it in GitHub Desktop.
" Screen settings
map <F5> :ScreenShellVertical<CR>
command! -nargs=? -complete=shellcmd W :w | :call ScreenShellSend("load '".@%."';")
map <Leader>c :ScreenShellVertical bundle exec rails c<CR>
map <Leader>r :w<CR> :call ScreenShellSend("rspec ".@% . ':' . line('.'))<CR>
map <Leader>e :w<CR> :call ScreenShellSend("cucumber --format=pretty ".@% . ':' . line('.'))<CR>
map <Leader>b :w<CR> :call ScreenShellSend("break ".@% . ':' . line('.'))<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment