Home

Awesome

Profile Switcher for Sublime Text

Problem

Code is best viewed in a narrow, tight font, with syntax highlighting, line numbers etc.

Prose writing is best done in wide font, generous line spacing, dim colors, width-limited column.

Sublime Text is great for both, but changing settings back and forth quickly becomes teduious.

Meet Profiles! Save all the settings you’ve changed at once and quickly return to them when needed.

Installation

Package Control: Install PackageProfile Switcher.

Usage

Create a new profile via Profiles: Create Profile command.

Edit your Sublime Text settings as usual.

Switch back to previous profile via Profiles: Switch Profile.

Bind a key to Profiles: Toggle Last Used Profile to switch even more quickly:

{ "keys": ["ctrl+w"], "command": "toggle_profile"}

Features

How does it work?

Profiles maintain a copy of Preferences.sublime-settings, one per profile.

When switching to the profile, current Preferences.sublime-settings is saved, and profile version is copied over current Preferences.sublime-settings.

Inactive profiles are stored in ~/Library/Application Support/Sublime Text/Packages/sublime-profiles.

See also

Writer Color Scheme: A color scheme optimized for long-form writing.

Alabaster Color Scheme: Minimal color scheme for coding.

Fira Code: Best coding font in the world.

Changelog

1.1.0 Mar 2, 2021: Added Rename and Delete commands.

1.0.0 Feb 22, 2021: Initial.

Credits

Made by Niki Tonsky.

License

MIT License