Skip to content

Instantly share code, notes, and snippets.

@hersonls
Created August 3, 2012 20:09
Show Gist options
  • Save hersonls/3251093 to your computer and use it in GitHub Desktop.
Save hersonls/3251093 to your computer and use it in GitHub Desktop.
Submlime plugin for less and css header doc
import sublime, sublime_plugin
import datetime
class Command(sublime_plugin.TextCommand):
def run(self, edit):
doc = """/*
Author: <Auhtor name>
Date: %s
Description:
*/
""" % datetime.datetime.now().strftime('%m/%d/%Y')
self.view.insert(edit, 0, doc)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment