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