Permalink
Browse files

use ,c to compile selected coffeescript to js

  • Loading branch information...
1 parent 5927658 commit 4047839c4e1c294ec7e15682f68563a0dbf0ee6d @epeli committed Mar 20, 2011
Showing with 5 additions and 0 deletions.
  1. +5 −0 vimrc
View
@@ -373,4 +373,9 @@ nmap <silent> <leader>s :set spell!<CR>
+" Compile selected Coffeescript to Javascript and print it to stdout
+vmap <leader>c <esc>:'<,'>:w !coffee -scb<CR>
+
+
+

0 comments on commit 4047839

Please sign in to comment.