Skip to content

Instantly share code, notes, and snippets.

@madmax
Created December 13, 2011 21:54
Show Gist options
  • Star 11 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save madmax/1474059 to your computer and use it in GitHub Desktop.
Save madmax/1474059 to your computer and use it in GitHub Desktop.
changing font in textmate 2
1. Open Bundle editor
2. Select Themes -> Themes -> your theme
3. add to settings
fontName = 'Monaco';
fontSize = '12px';
or what you want, enjoy :)
@jonzhan
Copy link

jonzhan commented Dec 14, 2011

It seems like you must specify font sizes in pt, em or without a unit (defaulting to pt). From my experience in r8930 using px doesn't work.

Thanks for the gist, madmax.

@madmax
Copy link
Author

madmax commented Dec 20, 2011

It was only for release < r8930 after that use View → Font → Show Fonts

@minimaldesign
Copy link

@madmax, when I try that, it only affects the Line Numbers formatting… bug?

@bentford
Copy link

"View → Font → Show Fonts" works for me in latest build as of Dec 14th, 2012

@Lohoris
Copy link

Lohoris commented Jun 30, 2015

Show Fonts is utterly useless: it just changes them for the current window… how could you even suggest that?

@minimaldesign: you likely added it in the first section, named gutterSettings. You should add it instead in the settings section.

@MarkFull
Copy link

MarkFull commented Sep 9, 2015

@Lohoris
View → Font → Show Fonts
change and restart TextMate.

Tested working on TextMate version 2.0-beta.7.4

@rBatt
Copy link

rBatt commented Oct 29, 2015

@MarkFull that approach just worked for me, too. Restarting was key. Without the restart, the font changes back even if I just switch tabs (although, the View > Font > Show Fonts still retains the previous setting).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment