-
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 would need UTC + 2 hours. How could this be achieved?
Thank you.