ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Quick​Themes

by chrislongo ALL

Quick theme switcher package for Sublime Text 2

Details

  • 2013.09.06.20.08.04
  • github.​com
  • github.​com
  • 12 years ago
  • 1 hour ago
  • 14 years ago

Installs

  • Total 13K
  • Win 5K
  • Mac 5K
  • Linux 2K
Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3
Windows 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0
Mac 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
Linux 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Info

QuickThemes allows you to easily cycle through any combination of Sublime Text 2 preferences. The obvious use is for changing color schemes, themes, and fonts simultaneously, but any of the ST2 preferences are available.

Usage

Super+Alt+0: Cycle up
Super+Alt+9: Cycle down

Alternatively, you can switch themes via Super+Shift+P and fuzzy search, e.g. “Super+Shift+P qtn” for next theme, “Super+Shift+P qtp” for previous theme.

Configuration

Best to configure it to match your environments in:

Preferences -> Package Settings -> QuickThemes -> Settings - User

Any preference you want to change must be included in the “quick_theme_defaults” section. Any preference not explicitly changed in a theme group will use the default. In the example below, the first group (#0) makes no changes; it simply makes the defaults available. The second group (#1) does not include a “font_size” preference, so it will use the default font_size of 12.

Example

Two modes to harmonize with ambient light:

{
    "quick_themes_selection": 0,
    "quick_themes_defaults":
    {
        "color_scheme": "Packages/Color Scheme - Default/Solarized (Dark).tmTheme",
        "font_face": "Source Code Pro Light",
        "font_size": 12
    },
    "quick_themes":
    [
        {}, // use defaults
        {
            "color_scheme": "Packages/Color Scheme - Default/Solarized (Light).tmTheme",
            "font_face": "Source Code Pro"
        }
    ]
}

Install

Easy Way

Install via Package Control

Hard Way

  • Change to Sublime Text packages folder:

    • OS X ~/Library/Application Support/Sublime Text 2/Packages/User
    • Windows %APPDATA%\Sublime Text 2\Packages\User
    • Linux ~/.config/sublime-text-2/Packages/User
  • Run the command:
    git clone https://github.com/chrislongo/QuickThemes.git

  • Set up your favorite themes to cycle through (see Info section above).