All Projects → lee-dohm → white-cursor

lee-dohm / white-cursor

Licence: MIT license
Provides a white I-bar cursor in the Atom editor for use with dark backgrounds

Programming Languages

coffeescript
4710 projects
CSS
56736 projects

Projects that are alternatives of or similar to white-cursor

Envy
Text editing supercharger
Stars: ✭ 35 (+169.23%)
Mutual labels:  atom, atom-package
Git Blame
Plugin for Atom Editor. Toggle git-blame annotations for the current file in the gutter.
Stars: ✭ 96 (+638.46%)
Mutual labels:  atom, atom-package
Go Signature Statusbar
Display the signature of the current Go function under the cursor in the status bar of Atom
Stars: ✭ 44 (+238.46%)
Mutual labels:  atom, atom-package
Color Indent
Use colors to show in a non intrusive manner different indentation levels.
Stars: ✭ 11 (-15.38%)
Mutual labels:  atom, atom-package
Split Diff
Side-by-side file compare for the Atom text editor.
Stars: ✭ 188 (+1346.15%)
Mutual labels:  atom, atom-package
Github
Git and GitHub integration for Atom
Stars: ✭ 880 (+6669.23%)
Mutual labels:  atom, atom-package
Atom File Types
Specify additional file types for languages.
Stars: ✭ 54 (+315.38%)
Mutual labels:  atom, atom-package
Prettier Atom
An atom package for the prettier formatter.
Stars: ✭ 750 (+5669.23%)
Mutual labels:  atom, atom-package
Atom React Snippets
esnext React snippets
Stars: ✭ 146 (+1023.08%)
Mutual labels:  atom, atom-package
Atom Terminal Tab
Simple terminal for the Atom text editor.
Stars: ✭ 134 (+930.77%)
Mutual labels:  atom, atom-package
Atom Sloc
Atom SLOC package for the statusbar
Stars: ✭ 10 (-23.08%)
Mutual labels:  atom, atom-package
atom-inline-blame
Atom package to display blame inline
Stars: ✭ 23 (+76.92%)
Mutual labels:  atom, atom-package
Vuejs Snippets
Collection of Vuejs 2.0+ snippets
Stars: ✭ 17 (+30.77%)
Mutual labels:  atom, atom-package
file-type-icons
Atom package that changes the icon for files in the Tree View and Tabs to reflect the file's type
Stars: ✭ 28 (+115.38%)
Mutual labels:  atom, atom-package
Mighty React Snippets
Crafty React & Redux snippets for Atom Editor
Stars: ✭ 16 (+23.08%)
Mutual labels:  atom, atom-package
Autocomplete Ruby
Provides intelligent code completion for Ruby in the Atom editor. Requires RSense.
Stars: ✭ 50 (+284.62%)
Mutual labels:  atom, unmaintained
Md Writer
✒️ Make Atom a better Markdown/AsciiDoc editor for writers and bloggers
Stars: ✭ 326 (+2407.69%)
Mutual labels:  atom, atom-package
Atom Project Manager
Project manager for the Atom editor
Stars: ✭ 519 (+3892.31%)
Mutual labels:  atom, atom-package
Markdown Themeable Pdf
ARCHIVED. NOT MAINTAINED. Themeable Markdown Converter (Print to PDF, HTML, JPEG or PNG)
Stars: ✭ 130 (+900%)
Mutual labels:  atom, atom-package
Highlight Selected
Highlights the current word selected when double clicking
Stars: ✭ 244 (+1776.92%)
Mutual labels:  atom, atom-package

White Cursor Atom Package

Build Status No Maintenance Intended

Provides a white I-bar cursor in editor views for use with dark backgrounds.

White Cursor animation

🚨 Unmaintained

Since atom/atom#8663 which was merged in Atom v1.0.12, this package is no longer necessary. I'm leaving it available as an example of how to build an Atom package.

Use

By default the white cursor is always enabled. However, if you set the white-cursor.enabled setting to detect, then when Atom is loaded or any time you change the themes, the White Cursor package attempts to determine whether you have a dark syntax theme set. If so, it enables the white cursor. You can override its autodetection for the current session by using the White Cursor: Toggle command from the Command Palette.

Commands

  • white-cursor:toggle — Toggles the white cursor on or off.

Configuration

  • white-cursor.enabled — Accepts one of three values:
    • always — White cursor is always enabled (default)
    • detect — Detects whether a dark syntax is being used and enables the white cursor accordingly
    • never — White cursor is always disabled
  • white-cursor.darkThemes — An array of theme package names (lowercased and hyphenated) that should be treated as dark syntax themes even if they do not contain both dark and syntax in the name

Styles

The .white-cursor-image mixin is available in case there are situations where you need a white I-bar cursor in some areas of the UI even when you're using a light theme. For example, with the Term2 package you can add the following to your styles.less:

@import "packages/white-cursor/stylesheets/white-cursor";

.terminal {
  .white-cursor-image;
}

Copyright

Copyright © 2014-2015 Lee Dohm. See LICENSE for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].