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 1K
  • Win 418
  • OS X 487
  • Linux 167
Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7
Windows 0 1 0 1 0 3 2 0 0 0 0 1 2 1 2 0 1 2 4 0 1 2 0 0 1 1 0 0 2 1 3 1 3 11 24 0 1 0 1 1 1 2 8 0 3 0
OS X 0 1 2 1 2 0 0 0 2 0 0 2 0 0 1 2 3 2 1 4 0 2 6 0 3 0 2 2 0 1 0 4 0 1 13 3 0 2 1 5 1 3 0 1 2 1
Linux 0 0 0 0 0 1 0 0 0 0 0 1 2 0 1 0 0 1 1 2 1 1 0 0 0 0 1 0 0 0 0 0 1 3 5 0 0 0 1 0 2 1 3 0 1 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",
  "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.