Skip to content

Instantly share code, notes, and snippets.

@tobiashm
Forked from anonymous/Run with Node.tmCommand
Created February 24, 2011 12:35
Show Gist options
  • Save tobiashm/842114 to your computer and use it in GitHub Desktop.
Save tobiashm/842114 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>`which node` "$TM_FILEPATH"</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
<string>@N</string>
<key>name</key>
<string>Run with Node</string>
<key>output</key>
<string>showAsTooltip</string>
<key>scope</key>
<string>source.js</string>
<key>uuid</key>
<string>9CAEE3E7-7733-435E-8E3D-AD8D79B19874</string>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment