Apr 30, 2019 This will add all elements that are present in FiraCode but not in Operator Mono – read: ligatures – to Operator Mono. This approach should work with all monospaced fonts where one supports ligatures and the other doesn't. Below is a screenshot of the 'thin' / 'extra light' version of Operator Mono with the 'light' FiraCode ligatures.
Free Operator Mono clone for Atom
A stylish way to code!
Check out the screenshots.
Installation
Install fonts
Download and install Fira Code font into your system. Installation instructions
Download and install Script12 BT font into your system in the same manner. Thanks to @kencrocken for finding this font :)
Operator Mono Alternative
The current version (last checked September 2017) of the fonts can also be found in this repository.
Configure Atom
Enable Ligatures
To use Fira Code properly you need to enable ligatures. There are two ways to do this, see below:
Ligatures - Quick installBring up Atom and go to Settings > Themes. Search for Operator Mono and install.
This syntax theme has been built to support this Fira Code, it is built from scratch using the Oceanic Next Italic palette and it will enable ligatures, and make certain attributes italic. It will also be your theme.
If you prefer to use your own syntax theme, you have to edit your styles.less and insert these lines:
If you prefer to use your own syntax theme, you have to edit your styles.less and insert these lines:
Enable 'Operator Mono' font
In order to enable the alternative font for italic, which is probably what you came for, you have to manually edit your styles.less file and merge the code snippet found in styles.less
in this repository with your own.
If you have any personal preferences, such as applying 'Operator Mono' for comments as well, just add .syntax--comment
in the css selector list.
Troubleshooting
Atom version
The instructions / code works for the latest versions of Atom (1.20.x) and Atom Beta (1.21.x). Please make sure your editor is updated.
Are your ligatures not being applied correctly?
Operator Mono Vs Code
- In Editor Settings, you might need to enter 'Fira Code' in 'Font Family'
- Hunt down and disable interfering packages that modifies fonts, such as 'fonts'
Screenshots
The screenshots below are taken with the Operator Mono theme.