Skip to content

Instantly share code, notes, and snippets.

View benPesso's full-sized avatar
🧠
Storming

benPesso

🧠
Storming
View GitHub Profile
@benPesso
benPesso / keybase.md
Created April 3, 2015 17:49
Keybase.io Proof

Keybase proof

I hereby claim:

  • I am benPesso on github.
  • I am benpesso (https://keybase.io/benpesso) on keybase.
  • I have a public key whose fingerprint is F3D0 C20D B154 6418 71AB FDA1 460D FC6B 76D3 79F0

To claim this, I am signing this object:

@benPesso
benPesso / Sublime shortcut for "Go to definition..."
Last active August 29, 2015 14:02
How to add a shortcut to "Go to definition..." by holding down Cmd + Alt and clicking on a object in sublime.
1. Create "Default (OSX).sublime-mousemap" in "~/Library/Application Support/Sublime Text 3/Packages/User".
2. Paste the following into the file and save it:
[
{
"button": "button1",
"count": 1,
"modifiers": ["super", "alt"],
"press_command": "drag_select",
"command": "goto_definition"
}
-- Cornerstone executes the script as: /path/to/tool <original> <modified>
-- INSTRUCTIONS:
-- 1. Save this AppleScript somewhere.
-- 2. Click on the "Install Command Line Tools..." item in the BeyondCompare menu.
-- 3. Open Cornerstone's preferences and go to the "General" tab.
-- 4. Click on the drop-down next to "external compare tool" and choose "Other script...".
-- 5. Navigate to where this script was saved and select it.
-- 6. Enjoy!
--
on run argv