Skip to content

Instantly share code, notes, and snippets.

@rbf
rbf / Default (OSX).sublime-keymap
Last active March 4, 2024 19:14 — forked from jasonlong/Default (OSX).sublime-keymap
A simple way to toggle between dark and light themes in Sublime Text 2 and 3.
// Copy this to your keybindings (Preferences > Key Bindings - User)
// Change the keybinding, color schemes, and themes to your preferences
{
"keys": ["ctrl+shift+s"], "command": "toggle_color_scheme",
"args": {
"light_color_scheme": "Packages/Solarized Color Scheme/Solarized (light).sublime-color-scheme",
"dark_color_scheme": "Packages/Solarized Color Scheme/Solarized (dark).sublime-color-scheme",
"light_theme": "Adaptive.sublime-theme",
"dark_theme": "Adaptive.sublime-theme"