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 544
  • Win 255
  • Mac 201
  • Linux 88
May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1
Windows 0 0 0 3 0 1 0 0 1 1 1 0 0 1 0 2 0 2 0 0 1 0 0 2 2 0 3 12 0 1 1 0 0 0 1 6 1 1 1 11 0 0 1 0 0 2
Mac 0 0 2 0 0 1 0 1 2 1 3 1 2 2 0 0 3 1 1 3 0 0 0 2 4 1 1 7 0 2 1 1 2 0 0 3 6 1 9 20 15 4 3 2 2 0
Linux 0 0 0 0 0 0 1 0 0 0 1 0 1 3 0 0 1 0 0 2 0 1 0 1 1 0 2 1 0 0 0 1 1 0 0 1 0 1 8 6 6 1 0 0 0 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