Skip to content

Instantly share code, notes, and snippets.

@DisposaBoy
Created July 15, 2013 09:37
Show Gist options
  • Save DisposaBoy/5998675 to your computer and use it in GitHub Desktop.
Save DisposaBoy/5998675 to your computer and use it in GitHub Desktop.
"on_save": [
// automatically replay the current package on save
// for main packages, it compiles it and runs the command with the args passed to `replay`
// for normal packages, it compiles it and runs `go test`
{
"cmd": "gs9o_open",
"args": {
"focus_view": false, // prevent 9o from stealing focus
"run": ["replay"] // "run" is a list of strings ["cmd", "arg1", "arg2"],
// it can be any command you can type into 9o
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment