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 33
  • Win 15
  • Mac 12
  • Linux 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 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21
Windows 0 0 0 1 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 2 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 1
Mac 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 0 0 0 2 0 1 0 1 1 1
Linux 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 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.