This font is a combination of the JetBrainsMono font and the Victor Mono font for italic and bold italic families, trying to mimic the Operator Mono font for free.
- Clone the repo and install all
*.ttf
files from thettf
folder in your OS. - Enable the font and font ligatures in your editor of choice. For VSCode:
"editor.fontFamily": "'JetBrainsVictorMono'",
"editor.fontLigatures": true,
- Enable italic font on the keywords of your choice. See scope naming. For example, on VSCode:
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": [
"comment",
"storage.modifier", //static keyword
"storage.type.class",
"storage.type.class.js", //class keyword
"entity.name.type.class", //class names
"entity.other.attribute-name",
"entity.other.attribute-name.html",
"entity.other.attribute-name.tag.jade",
"entity.other.attribute-name.tag.pug",
"markup.italic",
"keyword", //import, export, return…
"keyword.control",
"variable.language",
"constant", //String, Number, Boolean…, this, super
],
"settings": {
"fontStyle": "italic",
}
},
{
"scope": ["strong", "markup.bold", "markup.heading"],
"settings": {
"fontStyle": "bold"
}
},
{
"scope": ["markup.underline"],
"settings": {
"fontStyle": "underline"
}
},
{
"scope": [
"invalid",
"keyword.operator",
"constant.numeric",
"entity.other.attribute-name"
],
"settings": {
"fontStyle": ""
}
}
]
},
Inspired by font Hactor (combination of Hack and Victor Mono) by dqisme.