Sublime Text Setup Revision as of Sunday, 20 December 2015 at 19:56 UTC

Set up Dropbox to sync settings

   mkdir "~/Dropbox/Settings"
   mv ~/Library/Application\ Support/Sublime\ Text\ 2 ~/Dropbox/Settings/
   ln -s ~/Dropbox/Settings/Sublime\ Text\ 2 ~/Library/Application\ Support/

Can be done on
Windows

too. Once set up, backup and symlink on other computers

   mv ~/Library/Application\ Support/Sublime\ Text\ 2 ~/Library/Application\ Support/Sublime\ Text\ 2.backup
   ln -s ~/Dropbox/Settings/Sublime\ Text\ 2 ~/Library/Application\ Support/

Package Control

Install this first. Then hit
(or on Windows), type “Install Package”, and go nuts.

Install Plugins

Some basic ones:

Install Themes, Colors, and Fonts

Quite a few to pick from. A few favorites:

Change User Preferences

{
  "bold_folder_labels": true,
  "caret_style": "solid",
  "color_scheme": "Packages/Base16/base16-pop.dark.tmTheme",
  "file_exclude_patterns": [
    ".DS_Store",
    "Thumbs.db"
  ],
  "folder_exclude_patterns": [
    "bin",
    "cache",
    ".bundle",
    ".git",
    "tmp"
  ],
  "font_face": "Inconsolata",
  "font_options": [
    "subpixel_antialias"
  ],
  "font_size": 18.0,
  "highlight_line": true,
  "highlight_modified_tabs": true,
  "ignored_packages": [
    "Vintage"
  ],
  "scroll_past_end": true,
  "tab_size": 4,
  "theme": "Flatland Dark.sublime-theme",
  "translate_tabs_to_spaces": true,
  "trim_trailing_white_space_on_save": true
}

Create a command-line shortcut (OS X)

 sudo ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" /usr/bin/sublime

Change the Icon

Quite a
few

options!

 sudo cp new_icon.icns \
      /Applications/Sublime\ Text\ 2.app/Contents/Resources/Sublime\ Text\ 2.icns

Category: Nikhil’s Notes
Category: Installation Logs