Skip to content

Instantly share code, notes, and snippets.

View moffat's full-sized avatar

Carlos Moffat moffat

View GitHub Profile

Keybase proof

I hereby claim:

  • I am moffat on github.
  • I am moffat (https://keybase.io/moffat) on keybase.
  • I have a public key whose fingerprint is 2FE4 3251 C9E3 C4EE DB67 047C 604E 6E11 7E5A AF6F

To claim this, I am signing this object:

brew --config
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew.git
HEAD: 32db3231662c7a73a9832ef5d635513a52f0d44c
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit ivybridge
OS X: 10.9.3-x86_64
Xcode: 5.1.1
CLT: 5.1.0.0.1.1396320587
  1. Choose: Tools > New Plugin

  2. Paste in the contents of "timestamp.py" below

  3. Save as timestamp.py in ~/Library/Application Support/Sublime Text 2/Packages/User/ (should be the default directory that pops up when you save)

  4. Choose: Sublime Text 2 > Preferences > Key Bindings - User

  5. 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.