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 664
  • OS X 637
  • Linux 273
Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8
Windows 1 1 0 0 0 1 2 4 2 3 1 0 0 1 1 0 0 2 0 0 4 1 3 0 0 1 0 1 0 0 1 0 3 0 4 2 1 0 0 0 2 3 1 1 1 2
OS X 1 0 1 0 3 1 2 1 3 0 0 0 1 0 0 2 0 1 0 0 0 0 1 0 1 0 0 3 1 2 0 0 1 4 4 0 1 0 1 0 0 2 0 0 0 0
Linux 1 1 0 0 1 0 1 3 1 1 1 0 2 0 0 0 0 0 0 0 1 3 0 2 0 0 1 2 0 1 0 1 0 1 1 0 0 1 0 0 0 0 0 0 0 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.