forgecrafted / rulerz

[Looking for maintainer] A simple Atom package to mark your cursor position with a ruler.
MIT License
6 stars 7 forks source link

rulerz

[Looking for new maintainer] - @chmac has taken on maintenance on a "best effort" basis. If anyone is motivated to take over maintenance of this package, please reach out in an issue.

By the guys at Forge Software

A simple Atom package to mark each of your cursors with a vertical ruler. Inspired by the Sublime Text plugin CursorRuler.

screencast gif

Styles

You can change the appearance of the rulers by adding a rule to your stylesheet. For example:

atom-text-editor.is-focused.editor {
  ruler-view.rulerz {
    border-left: 1px solid black;
  }
}

The default color is taken from the variable @text-color-subtle. By continuing to base your ruler color on this value (modified with LESS functions), your ruler will match whatever syntax theme you have active:

atom-text-editor.is-focused.editor {
  ruler-view.rulerz {
    border-left: 1px dotted fade(mix(@text-color-subtle, limegreen), 5%);
  }
}

Contributing

Please report any issues on Github.

Patches welcome and encouraged.

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Credits

forge software

rulerz is maintained and funded by Forge Software (forgecrafted.com).

If you like our code, please give us a hollar if your company needs outside pro's who can write good code AND run servers at the same time!

License

MIT, of course! Rulerz is Copyright Forge Software, LLC. It is free software, and may be redistributed under the terms specified in the LICENSE file.