Skip to content

Instantly share code, notes, and snippets.

@mbostock
Created December 18, 2011 18:37
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 mbostock/1494117 to your computer and use it in GitHub Desktop.
Save mbostock/1494117 to your computer and use it in GitHub Desktop.
BBEdit Preferences

Colors by Cynthia Brewer.

  • Put Color Brewer.bbcolors in ~/Library/Application Support/BBEdit/Color Schemes/
  • ln -sf /usr/local/bin/bbedit /usr/local/bin/edit
  • export EDITOR='edit -w'
# Not sure why BBEdit doesn't observe System Preferences:
defaults write com.barebones.bbedit FixedWidthFontSmoothingThreshold -int 4
defaults write com.barebones.bbedit PreferLineCommentsWhenCommenting -bool YES
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BackgroundColor</key>
<string>rgba(1.0,1.0,1.0,1.0)</string>
<key>CommentsColor</key>
<string>rgba(0.388235,0.388235,0.388235,1.000000)</string>
<key>CtagsIdentifierColor</key>
<string>rgba(0.192157,0.509804,0.741176,1.000000)</string>
<key>ForegroundColor</key>
<string>rgba(0.0,0.0,0.0,1.0)</string>
<key>HTMLAnchorColor</key>
<string>rgba(0.192157,0.639216,0.329412,1.000000)</string>
<key>HTMLAttributeNameColor</key>
<string>rgba(0.901961,0.333333,0.050980,1.000000)</string>
<key>HTMLAttributeValueColor</key>
<string>rgba(0.458824,0.419608,0.694118,1.000000)</string>
<key>HTMLImageColor</key>
<string>rgba(0.192157,0.639216,0.329412,1.000000)</string>
<key>HTMLProcessingDirectiveColor</key>
<string>rgba(0.192157,0.639216,0.329412,1.000000)</string>
<key>HTMLTagColor</key>
<string>rgba(0.192157,0.509804,0.741176,1.000000)</string>
<key>HighlightInsertionPoint</key>
<true/>
<key>InsertionPointLineHighlightColor</key>
<string>rgba(0.929412,0.929412,0.929412,1.000000)</string>
<key>InvisibleOthersColor</key>
<string>rgba(0.901961,0.333333,0.050980,1.000000)</string>
<key>InvisibleSpacesColor</key>
<string>rgba(0.800000,0.800000,0.800000,1.000000)</string>
<key>KeywordsColor</key>
<string>rgba(0.192157,0.509804,0.741176,1.000000)</string>
<key>NumericConstantColor</key>
<string>rgba(0.192157,0.639216,0.329412,1.000000)</string>
<key>PredefinedNamesColor</key>
<string>rgba(0.901961,0.333333,0.050980,1.000000)</string>
<key>PythonDecoratorColor</key>
<string>rgba(0.901961,0.333333,0.050980,1.000000)</string>
<key>SpellingColor</key>
<string>rgba(0.992157,0.552941,0.235294,1.000000)</string>
<key>StringColor</key>
<string>rgba(0.458824,0.419608,0.694118,1.000000)</string>
<key>UseCustomHighlightColor</key>
<false/>
</dict>
</plist>

Editor Defaults

☑ Auto-expand tabs

Default font: Menlo Regular - 10

Tab width: 2

Keyboard

☐ Enable Shift-Delete for forward delete

Languages

HTML ⟩ Editor ⟩ ☑ Soft wrap text to: 🔘 Page guide

Menus & Shortcuts

☑ Text ☑ Un/Comment Selection ⌘/

☑ Text ☐ Hard Wrap… (Note: Use ⌘' for "Wrap Quoted Text…" instead.)

☑ Text ☐ Hard Wrap

☑ View ☑ Balance ⌃⌘B

☑ View ☑ Open In Additional Window ⌥⌘O

☑ Markup ☑ Phrase Elements ☑ Computer Code ⌘T

☑ Markup ☑ Font Style Elements ☑ Bold ⌘B

☑ Markup ☑ Font Style Elements ☑ Italic ⌘I

☑ Search ☑ Find ⌘=

☑ Search ☑ Live Search ⌘F

☑ Search ☑ Replace & Find Next ⌥⌘=

☐ P4

☐ CVS

☐ Subversion

Text Colors

Color Scheme: Color Brewer

Text Files

☑ Strip trailing whitespace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment