Skip to content

Instantly share code, notes, and snippets.

@gfontenot
Created September 2, 2011 21:16
Show Gist options
  • Save gfontenot/1189947 to your computer and use it in GitHub Desktop.
Save gfontenot/1189947 to your computer and use it in GitHub Desktop.
Copy TextMate's command + return behavior in BBEdit
tell application "BBEdit"
tell window 1
select insertion point after line (startLine of selection)
set selection to return
select insertion point before line ((startLine of selection) + 1)
end tell
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment