scripted-editor/scripted — pull request #100 by cawoodm (2012-12-25 23:40:33+00:00)
Title: Provide a filename-only placeholder for exec

Say we want to run unit-tests when the current file `foo.js` is saved. Our tests require that the following command is run:
`node tests\test-foo.js`

In order for this to work we need a `${filename}` placeholder which returns only `foo.js` and not the full path (as `${file}` currently does).

```javascript
"exec": {
"afterSave": {
"*.js": "node tests/test-${filename}"
}
}
```