Skip to content

Instantly share code, notes, and snippets.

@ewoo
Last active September 17, 2015 13:39
Show Gist options
  • Save ewoo/969eff18c6f7b2da4372 to your computer and use it in GitHub Desktop.
Save ewoo/969eff18c6f7b2da4372 to your computer and use it in GitHub Desktop.
My Sublime Text macro to insert date headers onto my work log. Depends on InsertDate package.
[
{"keys": ["super+d"], "command": "run_macro_file", "args": {"file": "Packages/User/insert-date.sublime-macro"}}
]
[
{ "command": "insert_snippet", "args": {"contents": "$1\n-----------------\nCompleted Items:\n$0"} },
{ "command": "insert_date", "args": {"format": "%a, %b %d, %Y"} },
{ "command": "next_field" }
]
@ewoo
Copy link
Author

ewoo commented Sep 17, 2015

Put under ~/Library/Application Support/Sublime Text 2/Packages/User

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