I have no experience with CoffeeScript, but from your second link, I understand that your document has been passed to the coffee command.
Have you tried :!coffe % ?
:! to run an external command,coffee external team,% , extended by Vim at runtime, represents the current file.
EDIT
Add this to your .vimrc :
nnoremap <Dr> :!coffee %<CR>
nnoremap mapping only works in normal mode,<Dr> - Cmd r , after which there is a sequence of commands,:!coffee % team,<CR> Enter
romainl
source share