Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

edit script in vim.

use :!go run %

It will compile and run the script so fast you will swear it was an interpreted language except it runs way faster than an interpreted language.



You have to write it first for the Go example (:w | !go run %). For Python and most interpreted languages you can simply do :w !python.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: