ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Profile Switcher

by tonsky ALL

Profile Switcher for Sublime Text

Labels preferences

Details

Installs

  • Total 2K
  • Win 609
  • Mac 707
  • Linux 279
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 29 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12
Windows 0 0 0 1 0 1 1 1 0 0 0 0 0 0 2 0 0 0 0 0 0 1 0 2 0 0 0 1 0 0 1 1 0 0 0 0 0 0 1 0 1 0 0 0 1 0
Mac 0 0 0 0 0 0 0 3 0 0 1 0 0 1 1 2 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 1 1 0 0 0 1
Linux 1 2 0 0 0 0 2 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0

Readme

Source
raw.​githubusercontent.​com

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

  • Each profile remembers all the settings: font, scheme, line metrics, gutter, etc.
  • Any number of profiles.
  • Instant switching.
  • Minimal (“automagical”) UI.

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