SettingSwitcher
No description provided
Details
Installs
- Total 23
- Win 13
- Mac 7
- Linux 3
Apr 2 | Apr 1 | Mar 31 | Mar 30 | Mar 29 | Mar 28 | Mar 27 | Mar 26 | Mar 25 | Mar 24 | Mar 23 | Mar 22 | Mar 21 | Mar 20 | Mar 19 | Mar 18 | Mar 17 | Mar 16 | Mar 15 | Mar 14 | Mar 13 | Mar 12 | Mar 11 | Mar 10 | Mar 9 | Mar 8 | Mar 7 | Mar 6 | Mar 5 | Mar 4 | Mar 3 | Mar 2 | Mar 1 | Feb 28 | Feb 27 | Feb 26 | Feb 25 | Feb 24 | Feb 23 | Feb 22 | Feb 21 | Feb 20 | Feb 19 | Feb 18 | Feb 17 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 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 | 1 |
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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
SettingSwitcher
A Sublime Text plugin that enables quick switching between different setting configurations.
Features
- Switch multiple plugin settings with a single command
- Dynamically generated command palette entries
- Easy configuration through a single settings file
Installation
- Clone or download git repo into your packages folder
- Using Package Control: Run “Package Control: Install Package” command, and find SettingSwitcher package
Configuration
Create a SettingSwitcher.sublime-settings
file in your User package directory with your desired configurations:
{
"light": {
// set Preferences.sublime-settings
"Preferences": {
"color_scheme": "Breakers.sublime-color-scheme",
"font_size": 14
},
// set Markdown.sublime-settings for Markdown plugin
"Markdown": {
"color_scheme": "MarkdownEditor-ArcDark.sublime-color-scheme"
}
},
"dark": {
"Preferences": {
"color_scheme": "Mariana.sublime-color-scheme",
"font_size": 14
},
"Markdown": {
"color_scheme": "MarkdownEditor.sublime-color-scheme"
}
}
}
Usage
- Open the command palette (Ctrl+Shift+P / Cmd+Shift+P)
- Type “setting_switcher: switch to” and select your desired configuration, like “switch to light” or “switch to dark”
- The plugin will automatically update all settings defined in that configuration
Keyboard Shortcuts
You can set keyboard shortcuts by creating or editing your key bindings file:
// Preferences -> Key Bindings (User)
[
{
"keys": ["your_preferred_shortcut"],
"command": "setting_switcher",
"args": { "command_type": "light" }
},
{
"keys": ["your_preferred_shortcut"],
"command": "setting_switcher",
"args": { "command_type": "dark" }
}
]
How It Works
The plugin loads configurations from SettingSwitcher.sublime-settings
on startup and creates command palette entries for each configuration. When a switch command is executed, it updates the settings of all specified packages according to the selected configuration.
License
MIT License