Skip to content

Instantly share code, notes, and snippets.

@nevan
Created May 6, 2016 10:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nevan/c0109681856177c1f8e7331a130f1965 to your computer and use it in GitHub Desktop.
Save nevan/c0109681856177c1f8e7331a130f1965 to your computer and use it in GitHub Desktop.
TextMate command to open current file in BBEdit
#!/bin/sh
/usr/local/bin/bbedit +$TM_LINE_NUMBER "$TM_FILEPATH"
# Opens the current file in BBEdit with the line number you were working on selected
# In TextMate's Bundle editor: new command with settings
# Save: Current File
# Input: Entire Document
# Output: Discard
# Key Equivalent: my shortcut key
# selector: source.php (means it only works in php files)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment