Skip to content

Instantly share code, notes, and snippets.

@RadioactiveMouse
Created June 19, 2012 09:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RadioactiveMouse/2953216 to your computer and use it in GitHub Desktop.
Save RadioactiveMouse/2953216 to your computer and use it in GitHub Desktop.
Express key binding for get route
{ "keys": ["super+shift+r"],
  "command": "insert_snippet",
  "args" : {
  	"contents": "app.get(\"/${1:}$SELECTION\", routes.${1:}$SELECTION);${0}"
  }
}
@RadioactiveMouse
Copy link
Author

Very naiive implementation but works for helping quickly mock routes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment