Skip to content

Instantly share code, notes, and snippets.

@lavaldi
Created March 16, 2017 02:02
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save lavaldi/33b071ae84073bcc82a8c58aefe892bc to your computer and use it in GitHub Desktop.
Save lavaldi/33b071ae84073bcc82a8c58aefe892bc to your computer and use it in GitHub Desktop.
Operator Mono & Sublime Text 3 themes
  1. Install Package Resource Viewer.
  2. In package control window select ‘Package Resource Viewer: Open Resource’.
  3. Scroll down until you find the option: ‘Color Scheme — Default’ (or your theme with color scheme .tmTheme) and select it.
  4. Add the following
<!-- Operator Tweaks -->
  <dict>
    <key>name</key>
		<string>Italic HTML attribute names</string>
		<key>scope</key>
		<string>
		  , entity.other.attribute-name.html,
			, entity.other.attribute-name.event.html,
			, entity.other.attribute-name.id.html,
			, entity.other.attribute-name.class.html,
			, entity.other.attribute-name.tag.jade,
			, entity.other.attribute-name.tag.pug,
			, constant.other.symbol.ruby,
		</string>
		<key>settings</key>
		<dict>
		  <key>foreground</key>
			<string>#ffc600</string>			
<key>fontStyle</key>
			<string>italic</string>
		</dict>
  </dict>
<!-- End Operator Tweaks -->
@alexventuraio
Copy link

I did remove the comma's before the entity word and now almost all my text is in italics, does anybody knows how to fix it?
Screen Shot 2019-03-16 at 18 09 42

@dalthonmh
Copy link

Hi, I`ve insalled the font (Operator Mono) to mi Os (Windows), then in Sublime Text 3, into Preferences>Settings> Preferences User side paste the following:

"font_face": "Operator Mono",
"font_options":
[
"bold",
"italic"
],

@JheynsFenix
Copy link

excuse me, in version 3.2.2 compilation 3211, the mono operator does not work with the subllime theme material.
can anybody help me

@nitinsharmacs
Copy link

I'm using ubuntu 19+ version. And using sublime text 3. How can i install operator mono font in this?

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