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

Enhanced​Font​Resizer

by OdatNurd ST4

Advanced font resizing for Sublime Text 4

Labels font, font zoom

Details

Installs

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

Readme

Source
raw.​githubusercontent.​com

EnhancedFontResizer

This is a simple package for Sublime Text 4 builds 4153 and up that allows you to alter the font zoom:

  • Globally, in the Preferences.sublime-settings file
  • Per window, in the settings key of the project data for the window
  • By syntax, by updating your Syntax Specific sublime-settings file for you
  • Per view, adjusting only the current tab

In addition, when the font size is reset, the size resets a known default rather than just erasing the setting (and reverting you back to the official Sublime default).

In addition, new settings are added to the Preferences.sublime-settings file to provide more control over the font zoom:

  • “default_font_size” to specify the font size to return to when resetting
  • “min_font_size” to specify the minimum desired font size while zooming
  • “max_font_size” to specify the maximum desired font size while zooming

The settings will be added to your preferences when the package loads, and set to default values if they are not already present.

Menu Entries

A new menu entry Preferences > EnhancedFontResizer contains the full set of font adjustment commands for all of the various situations.

Keyboard and Mouse controls

Under Preferences > Package Settings > EnhancedFontResizer are menu entries for the keyboard and mouse mappings; the default files that ship with the package have examples for all of the various font zoom options; copy the ones you would like to use to your user preferences, un-comment them, and adjust as desired.

By default, no key bindings are added, but Sublime's default key bindings will map to the global font manipulation options.