Skip to content

Instantly share code, notes, and snippets.

@ETiV
Created April 11, 2013 18:32
Show Gist options
  • Save ETiV/5365958 to your computer and use it in GitHub Desktop.
Save ETiV/5365958 to your computer and use it in GitHub Desktop.
run the current js file by pressing F2 key with nodejs
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