dshoreman / sublime-scheme-arena

A Sublime Text 2 package that can switch colour schemes and delete the ones you don't want

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SchemeArena

This package for Sublime Text 2 lets you cycle through all available colour schemes with ease. If you're using Dayle Rees' Colour Schemes (or any other large collection for that matter), you'd be forgiven for being slightly overwhelmed by the sheer number of themes available. That's why this package has the ability to delete the current scheme as you're cycling through them.

Too dark? Too bright? Too pink? Delete it! At the touch of a button.

Eventually you'll be left with a small(er) set of schemes, all of which you like. Win!

Installation

To install manually, open Sublime's Packages directory in a shell and clone this repository and rename it to SchemeArena. You can find the packages directory from ST by going to Preferences > Browse Packages.

If you're on OSX, you can paste this into your Terminal:

cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages
git clone https://github.com/dshoreman/sublime-scheme-arena.git SchemeArena

Usage

Start typing SchemeArena in the Command Palette and you'll see four commands. You can cycle schemes forward and backward, or if you don't like the current scheme you can delete it and change to the next/previous one.

Keyboard Shortcuts

All shortcuts make use of Page Up and Page Down. For OS-specific shortcuts, see below:

Mac OS X

Shortcut Command
+PageUp Change to previous scheme
+PageDn Change to next scheme
++PageUp Delete current scheme and change to the previous one
++PageDn Delete current scheme and change to the next one

Windows / Linux

Shortcut Command
ctrl+PageUp Change to previous scheme
ctrl+PageDn Change to next scheme
ctrl+alt+PageUp Delete current scheme and change to the previous one
ctrl+alt+PageDn Delete current scheme and change to the next one

Custom Keymaps

If you'd rather use some other key bindings, you can copy the default keymaps from this extension. Go to Preferences > Package Settings > SchemeArena and you'll find two options. Do not edit the default file as it will get overwritten if the package gets updated! You must copy the bindings to the Key Bindings - User file.

Credits

This package was forked from Rémi Rérolle, so I take no credit for the original work. I simply added some extra features and tweaked the code a bit.

Thanks also to Marc-Andre Stoppert and Andreas Lutro for inspiring me to finally get around to learning some Python to get this done and coming up with name suggestions.

About

A Sublime Text 2 package that can switch colour schemes and delete the ones you don't want


Languages

Language:Python 100.0%