Skip to content

Instantly share code, notes, and snippets.

@blhamm
blhamm / gist:5543cfa804630448b507
Created December 4, 2015 04:34 — forked from lucasfais/gist:1207002
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
@blhamm
blhamm / launch_sublime_from_terminal.markdown
Created July 22, 2017 15:19 — forked from artero/launch_sublime_from_terminal.markdown
Launch Sublime Text 2 from the Mac OS X Terminal

Launch Sublime Text 2 from the Mac OS X Terminal

Sublime Text 2 ships with a CLI called subl (why not "sublime", go figure). This utility is hidden in the following folder (assuming you installed Sublime in /Applications like normal folk. If this following line opens Sublime Text for you, then bingo, you're ready.

open /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl

You can find more (official) details about subl here: http://www.sublimetext.com/docs/2/osx_command_line.html

Installation

@blhamm
blhamm / countdown_5mins.txt
Created May 16, 2020 23:45 — forked from anthonyeden/countdown_5mins.txt
Adobe After Effects - Countdown Expressions
st = 300;
t = st - time;
c = timeToTimecode(t);
c = c.substring(4,8)
c