Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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