-
Choose: Tools > New Plugin
-
Paste in the contents of "timestamp.py" below
-
Save as timestamp.py in
~/Library/Application Support/Sublime Text 2/Packages/User/
(should be the default directory that pops up when you save) -
Choose: Sublime Text 2 > Preferences > Key Bindings - User
-
Add:
{ "keys": ["super+ctrl+t"], "command": "timestamp" }
To make command+ctrl+t perform the insertion.
Make sure to add a comma after the previous keymap entry, if present.
I can confirm this works on Sublime Text 3, Build 3033, Windows 64-bit, with these small changes;
timetstamp.py
toC:\Users\your.name\AppData\Roaming\Sublime Text 3\Packages\User
"super+ctrl+t"
with"alt+ctrl+t"
Then invoke with alt+ctrl+t.
Thanks for this, Jordan!