SyntaxFix
Write A Post
Hire A Developer
Questions
The script package does exactly what you're looking for: https://atom.io/packages/script
The package's documentation also contains the key mappings, which you can easily customize.