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

Schemr

by benweier ST2/ST3

A color scheme selector for Sublime Text.

Labels color scheme

Details

  • 2016.12.17.10.28.41
  • github.​com
  • github.​com
  • 2 years ago
  • 3 minutes ago
  • 6 years ago

Installs

  • Total 24K
  • Win 9K
  • OS X 9K
  • Linux 5K
Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 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
Windows 2 1 3 3 3 2 5 1 0 3 4 3 2 2 3 1 3 0 1 4 2 0 1 7 8 6 18 2 5 3 3 0 4 5 3 1 3 3 4 6 4 4 2 2 3 3
OS X 1 2 1 0 1 1 1 2 1 1 1 1 2 2 0 0 1 3 2 6 1 0 1 0 1 0 0 1 1 0 0 2 1 4 0 0 0 0 0 4 2 1 3 1 7 3
Linux 1 2 0 3 0 1 1 0 0 1 0 1 1 2 0 0 0 1 0 2 0 1 1 1 1 3 1 0 0 1 3 0 1 5 1 1 2 4 0 0 7 2 0 1 4 1

Readme

Source
raw.​githubusercontent.​com

About

Gitter

Schemr allows you to quickly change your color scheme using the command palette and keyboard shortcuts. With Schemr, you get commands to easily cycle forward, backward and randomly through your available color schemes.

Features

  • Full compatibility with Sublime Text 2 and 3.
  • Preview the selected color scheme as you navigate through the quick panel. [ST3 ONLY]
  • Color schemes can be favorited for even faster access.
  • Set syntax-specific color schemes for your favorite languages. Use your favorite schemes for your favorite languages!
  • Displays [Dark] or [Light] in the scheme list to easily filter by type.
  • Automatically loads all available .tmTheme files, including those found inside .sublime-package files.

Installation

Install Schemr through Package Control, or download and extract it into your Sublime Text Packages folder.

Contributors

  • Max - Favorites support and code refactoring

Usage

Schemr: List schemes displays all the available schemes in alphabetical order.

  • Default binding: Alt+F5 (Windows/Linux) Option+F5 (OSX)

Schemr: Next scheme switches immediately to the alphabetically next color scheme.

  • Default binding: Alt+F7 (Windows/Linux) Option+F7 (OSX)

Schemr: Previous scheme switches immediately to the alphabetically previous color scheme.

  • Default binding: Alt+F8 (Windows/Linux) Option+F8 (OSX)

Schemr: Random scheme switches immediately to a random color scheme that you have installed.

  • Default binding: Alt+F10 (Windows/Linux) Option+F10 (OSX)

Favorites

Schemr: Add current scheme to favorites and Schemr: Remove current scheme from favorites add and remove the currently selected color scheme to your favorites list.

  • You can also edit your favorites list manually through Preferences > Package Settings > Schemr.

Schemr: List favorite schemes displays your favorite schemes in alphabetical order.

  • Default binding: Alt+Shift+F5 (Windows/Linux) Option+Shift+F5 (OSX)

Schemr: Next favorite scheme switches immediately to the alphabetically next color scheme in your favorites.

  • Default binding: Alt+Shift+F7 (Windows/Linux) Option+Shift+F7 (OSX)

Schemr: Previous favorite scheme switches immediately to the alphabetically previous color scheme in your favorites.

  • Default binding: Alt+Shift+F8 (Windows/Linux) Option+Shift+F8 (OSX)

Schemr: Random favorite scheme switches immediately to a random color scheme in your favorites.

  • Default binding: Alt+Shift+F10 (Windows/Linux) Option+Shift+F10 (OSX)

Syntax Specific Settings

Syntax specific color schemes will override the behavior of all other commands for listing and switching schemes! Reset the syntax specific scheme setting to return to the normal behavior.

Schemr: Set scheme for current syntax displays the scheme selection list to choose a color scheme for the syntax mode of the current file.

Schemr: Reset scheme for current syntax removes the color scheme setting for the syntax mode of the current file. Only available if a syntax specific color scheme has been set.

User Settings

These settings are available to control some of Schemr's behavior. Add them to Preferences.sublime-settings if you wish to override the default value.

schemr_brightness_threshold: Integer 0-255. Defaults to 100.

The brightness theshold setting allows you to define where the cutoff occurs between Dark and Light themes. Higher values indicate increasing brightess approaching white, while lower values indicate decreasing brightess approaching black.

schemr_brightness_flags: Boolean true|false. Defaults to true.

The brightness flags setting allows you to disable the “[Dark]” or “[Light]” text that appears after the scheme name in the quick panel. Disabling this will turn off color scheme parsing entirely and may increase performance if you have a large number of schemes.

schemr_preview_selection: Boolean true|false. Defaults to true.

If you are using Sublime Text 3, you can enable/disable previewing the highlighted color scheme as you move through the scheme list. Some performance issues related to the SublimeLinter and Color Highlighter plugins may be resolved by disabling this setting.

Note about SublimeLinter and Color Highlighter

To improve the user experience, Schemr filters schemes that contain (SL) or (Color Highlighter) from being listed or activated with Schemr commands. These schemes can still be enabled manually through the application menu or user settings file.

If a color scheme does not define colors for the SublimeLinter or Color Highlighter, the scheme file is extended and the written to a file in the Packages/User directory. If you switch between a lot of schemes this can quickly pollute the scheme list with many duplicates. Activate the base color scheme through Schemr and SublimeLinter/Color Highlighter will switch to their version automatically.