Need help with operator-mono-atom?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

klippx
120 Stars 14 Forks 29 Commits 2 Opened issues

Description

Free Operator Mono clone for Atom

Services available

!
?

Need anything else?

Contributors list

# 141,018
CSS
Ruby
kafka
rubygem
29 commits

operator-mono-atom

Free Operator Mono clone for Atom

A stylish way to code!

Check out the screenshots.

Installation

  1. Install fonts
  2. Configure Atom
  3. Troubleshooting
  4. Screenshots
    1. JSX
    2. Ruby
    3. Elixir
    4. Python

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 :)

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 install

Bring 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.

Ligatures - Manual install

If you prefer to use your own syntax theme, you have to edit your styles.less and insert these lines:

atom-text-editor {
  text-rendering: optimizeLegibility;

&.editor .syntax--string.syntax--quoted, &.editor .syntax--string.syntax--regexp { -webkit-font-feature-settings: "liga" off, "calt" off; } }

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?

  1. In Editor Settings, you might need to enter "Fira Code" in "Font Family"
  2. Hunt down and disable interfering packages that modifies fonts, such as "fonts"

Screenshot of example bad package fonts

Screenshots

The screenshots below are taken with the Operator Mono theme.

JSX

Screenshot of JSX

Ruby

Screenshot of Ruby

Elixir

Screenshot of Elixir

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.