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

Visual​Changer

by Vik Borges ST3

VisualChanger allows you to add profiles that affect the editor settings and its plugins

Details

  • 1.0.1
  • github.​com
  • github.​com
  • 11 months ago
  • 40 minutes ago
  • 11 months ago

Installs

  • Total 68
  • Win 42
  • OS X 14
  • Linux 12
Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0
OS X 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
Linux 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 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Sublime Text 3 - Visual Changer

VisualChanger is a simple tool that allows you to add profiles that affect settings of the editor and its plugins. You can then change between profiles using the command palette or key bindings.

Installation

  • Search for VisualChanger in Sublime's package control

Usage

Usage gif

  • VisualChanger adds an example configuration in your settings file(Preferences > Settings):
"visual_changer":
     {
        "profile_name_1":
        {
            "plugins_and_syntax-specific_settings":
            {
            },
            "visual_changer_test": "value 1"
        },
        "profile_name_2":
        {
            "plugins_and_syntax-specific_settings":
            {
            },
            "visual_changer_test": "value 2"
        },
        "profile_name_3":
        {
            "plugins_and_syntax-specific_settings":
            {
            },
            "visual_changer_test": "value 3"
        }
     }
  • Example of profile configuration
    • You can target the editor, plugins and syntax-specific settings.
    • They keys in plugins_and_syntax-specific_settings refer to the name of the setting file used, in this case PlainTasks is the name of the setting file for the PlainTasks plugin and Python is the name for the Python syntax-specific setting file.
"visual_changer":{
        "day":
        {
            "color_scheme": "Packages/ayu/ayu-light.tmTheme",
            "original_color_scheme": "Packages/ayu/ayu-light.tmTheme",
            "theme": "ayu-light.sublime-theme",

            "plugins_and_syntax-specific_settings":
            {
                "PlainTasks":
                {
                    "color_scheme": "Packages/PlainTasks/tasks-solarized-light.hidden-tmTheme"
                },

                "Python":{
                    "font_size": 10
                }
            },
        },
        "night":
        {
            "color_scheme": "Packages/ayu/ayu-mirage.tmTheme",
            "original_color_scheme": "Packages/ayu/ayu-mirage.tmTheme",
            "theme": "ayu-mirage.sublime-theme",

            "plugins_and_syntax-specific_settings":
            {
                "PlainTasks":
                {
                    "color_scheme": "Packages/PlainTasks/tasks-eighties-colored.hidden-tmTheme"
                },

                "Python":{
                    "font_size": 15
                }
            }
        }
    }
  • You can change between profiles using the command palette(Ctrl+Shift+p) or using key bindings

###### Setting key binding:

{ "keys": ["ctrl+alt+d"], "command": "visual_changer", "args": {"profile_chosen": "day"} }