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 639
  • Win 232
  • OS X 307
  • Linux 100
Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 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
Windows 0 1 1 2 3 0 4 9 11 0 0 1 0 2 0 1 2 0 2 0 1 2 0 1 5 2 0 1 0 2 3 0 2 0 0 1 3 1 2 3 2 8 1 5 2 2
OS X 0 1 3 4 1 1 3 7 8 4 0 2 1 1 2 1 3 2 2 1 1 3 2 1 0 4 0 0 0 0 0 1 2 1 1 2 1 1 3 1 4 2 9 8 2 5
Linux 0 0 2 1 2 1 0 1 7 0 0 1 0 0 0 0 1 0 1 1 0 0 1 0 0 0 1 0 0 1 1 0 1 1 0 1 2 1 0 1 1 1 1 0 0 1

Readme

Source
raw.​githubusercontent.​com

🖥 Carbon Sublime

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",
  "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.