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
  • 2 months ago
  • 10 minutes ago
  • 2 months ago

Installs

  • Total 21
  • Win 13
  • OS X 4
  • Linux 4
Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 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
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 2 0 0 0 0 0 1
OS X 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
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 1 0 1 0 0 0 0 0 0 0 0 1

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"} }