Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

use ,c to compile selected coffeescript to js

  • Loading branch information...
commit 4047839c4e1c294ec7e15682f68563a0dbf0ee6d 1 parent 5927658
@epeli authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 vimrc
View
5 vimrc
@@ -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>
+
+
+
Please sign in to comment.
Something went wrong with that request. Please try again.