Skip to content

Instantly share code, notes, and snippets.

View kimus's full-sized avatar

Helder Rossa kimus

View GitHub Profile
@kimus
kimus / insert_uuid.py
Created October 23, 2013 12:53
Plugin to Insert a UUID in Sublime Text
import sublime_plugin
import uuid
class InsertUuidCommand(sublime_plugin.TextCommand):
def run(self, edit):
u = uuid.uuid4()
for r in self.view.sel():
self.view.replace(edit, r, u.__str__())
def description(self):