Skip to content

Instantly share code, notes, and snippets.

@ducphanduyagentp
Created September 25, 2014 10:38
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 ducphanduyagentp/518524c4a01ef688e11f to your computer and use it in GitHub Desktop.
Save ducphanduyagentp/518524c4a01ef688e11f to your computer and use it in GitHub Desktop.
[
{
"args":
{
"file": "Packages/User/template.sublime-macro"
},
"command": "run_macro_file"
},
{
"args":
{
"by": "lines",
"forward": false
},
"command": "move"
},
{
"args":
{
"by": "lines",
"forward": false
},
"command": "move"
},
{
"args":
{
"by": "lines",
"forward": false
},
"command": "move"
},
{
"args":
{
"by": "lines",
"forward": false
},
"command": "move"
},
{
"args":
{
"characters": "#define"
},
"command": "insert"
},
{
"args":
{
"characters": " BUG"
},
"command": "insert"
},
{
"args":
{
"contents": "($0)"
},
"command": "insert_snippet"
},
{
"args":
{
"characters": "x"
},
"command": "insert"
},
{
"args":
{
"by": "characters",
"forward": true
},
"command": "move"
},
{
"args":
{
"characters": " cerr"
},
"command": "insert"
},
{
"args":
{
"characters": " <<"
},
"command": "insert"
},
{
"args":
{
"characters": " #x"
},
"command": "insert"
},
{
"args":
{
"characters": " <<"
},
"command": "insert"
},
{
"args":
{
"characters": " "
},
"command": "insert"
},
{
"args":
{
"contents": "\"$0\""
},
"command": "insert_snippet"
},
{
"args":
{
"characters": " ="
},
"command": "insert"
},
{
"args":
{
"characters": " "
},
"command": "insert"
},
{
"args":
{
"by": "characters",
"forward": true
},
"command": "move"
},
{
"args":
{
"characters": " <<"
},
"command": "insert"
},
{
"args":
{
"characters": " x"
},
"command": "insert"
},
{
"args":
{
"characters": " <<"
},
"command": "insert"
},
{
"args":
{
"characters": " "
},
"command": "insert"
},
{
"args":
{
"contents": "'$0'"
},
"command": "insert_snippet"
},
{
"args":
{
"characters": "\\n"
},
"command": "insert"
},
{
"args":
{
"extend": false,
"to": "eol"
},
"command": "move_to"
},
{
"args":
{
"characters": "\n"
},
"command": "insert"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment