Created
April 11, 2013 18:32
-
-
Save ETiV/5365958 to your computer and use it in GitHub Desktop.
run the current js file by pressing F2 key with nodejs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
autocmd filetype javascript map <F2> :!node "%:p"<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment