ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Carbon

by molnarmark ST2/ST3

🖥️ A Sublime Text 3 Plugin for Carbon. (https://carbon.now.sh)

Details

Installs

  • Total 2K
  • Win 735
  • OS X 683
  • Linux 304
Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1
Windows 1 0 0 1 0 2 1 1 2 0 1 1 2 0 0 0 1 2 1 1 2 1 0 3 4 2 0 1 2 1 4 1 1 2 1 3 4 1 0 2 5 2 0 1 0 0
OS X 0 2 0 1 2 1 0 0 1 1 2 2 0 1 1 0 2 1 2 1 2 0 0 1 2 0 1 2 0 0 3 0 2 2 0 0 0 3 0 0 1 1 0 2 0 2
Linux 1 0 1 1 0 0 0 0 1 1 0 0 0 0 0 0 3 2 1 0 0 0 0 2 0 0 0 0 0 0 2 0 5 0 1 0 0 1 1 1 1 0 1 0 2 0

Readme

Source
raw.​githubusercontent.​com

Getting Started

Carbon Sublime (or Carbon via Package Control) is a Sublime Text 3 Plugin for Carbon.

Installation

Install Carbon via Package Control.

Usage

Command Palette

You can use the command Carbon: share selection from the command palette (ctrl/cmd + shift + p) to open Carbon.

Keymap

This package doesn't provide a default keymap. If you need to, add a keymap setting like the following to your Sublime keymap file:

{"keys": ["f3"], "command": "carbon_sublime"}

Then go into your file, select a region, and press the bound key.

Configuration

You can open the configuration file via the menu:

Preferences > Package Settings > carbonSublime > Settings. It defaults to:

{
  "background-color": "rgba(12, 108, 189, 1)",
  "theme": "seti",
  "font-family": "Hack",
  "font-size": "16px",
  "drop-shadow": "true",
  "window-controls": "true",
  "width-adjustment": "true",
  "padding-vertical": "48px",
  "padding-horizontal": "32px",
  "line-numbers": "true",
  "language_mapping": {},
  "trim_indent": true
}
  • language_mapping: (dict) An extra setting which maps syntaxes to Carbon languages. The default (fallback) setting is written as LANGUAGE_MAPPING in carbonSublime.py.
  • trim_indent: (bool) If set to true, indents are trimmed when a selection is made.