Skip to content

Instantly share code, notes, and snippets.

@jasonaden
Created October 30, 2014 16:19
Show Gist options
  • Select an option

  • Save jasonaden/3bb720cf452f75fced70 to your computer and use it in GitHub Desktop.

Select an option

Save jasonaden/3bb720cf452f75fced70 to your computer and use it in GitHub Desktop.
(function () {
var table = [];
var add = function (name, cmd) {
table.push({'Description': name, 'Command/Shortcut': cmd});
};
add("Search Sources Filename", "Cmd+o");
add("Find in File", "Cmd+f");
add("Search Across All Files", "Cmd+Opt+f");
add("Filter for Function/Selector", "Cmd+Shift+O");
add("Jump to Line", "Cmd+L");
add("Log Discoverable Object", "console.dir(VAR)");
add("Log Array as Table", "console.table(ARRAY)");
add("Run a Snippet", "Cmd+Shift+Enter");
add("Evaluate Snippet in Console", "Cmd+Shift+E");
console.table(table);
})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment