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

Cuttlefish

by csun ST3

A Sublime Text 3 package for easy switching between themes. Inspired by Camaléon, another Sublime Text package.

Details

  • 2014.05.30.20.46.27
  • github.​com
  • github.​com
  • 11 years ago
  • 2 minutes ago
  • 10 years ago

Installs

  • Total 189
  • Win 95
  • Mac 67
  • Linux 27
Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13
Windows 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 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0
Mac 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 0 0 0
Linux 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 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Cuttlefish

A Sublime Text 3 package for easy switching between settings/theme presets. Inspired by Camaléon, another Sublime Text package.

Installation

Installation through Package Control (https://sublime.wbond.net/) is recommended.

Usage

By default, Cuttlefish mostly uses the command palette to handle saving and changing presets.

To save your current settings as a preset, use “Cuttlefish: Save Current Settings As Preset”. By default, Cuttlefish only saves color scheme, font face, and font size, but this can be changed through settings (see Customization). For loading, deleting, and quick switching presets, use the respective similarly named commands. Just like with Camaléon, F8 and Shift+F8 cycle forwards and backwards through your presets by default.

Customization

If you prefer to add presets manually, you can find the Cuttlefish user settings in the Preferences menu, under Package Settings. If you've already saved a preset, its format should be pretty self-evident.

By default, each preset controls the color_scheme, font_face, and font_size settings, but this can be changed. If you'd like Cuttlefish presets to remember more (or less) of your settings, open your Cuttlefish settings file, and set controlled_settings to an array of settings names that you want controlled.

If you'd like to add custom keybindings, Cuttlefish exposes the following commands: cuttlefish_cycle takes an argument direction which can be either “next” or “previous”. It cycles through your list of presets, switching to either the next or previous preset. cuttlefish_save saves your current settings to a preset. cuttlefish_load loads a saved preset. cuttlefish_delete deletes a saved preset.

License and Parting Wishes

Cuttlefish is released under the GPLv3. Have fun!