SettingSwitcher
No description provided
Details
Installs
- Total 52
- Win 32
- Mac 16
- Linux 4
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 | Sep 3 | Sep 2 | Sep 1 | Aug 31 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 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 | 1 | 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
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