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 847
  • Win 318
  • OS X 398
  • Linux 131
Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30
Windows 0 1 4 2 0 6 6 2 1 4 0 1 2 0 1 1 1 1 3 3 4 0 1 2 1 0 3 3 5 1 2 3 5 0 0 3 1 1 0 0 1 1 3 0 3 1
OS X 1 1 4 0 2 1 9 2 3 4 1 0 1 1 4 4 2 0 4 2 0 1 1 2 0 2 0 6 4 1 6 1 2 2 3 1 0 1 2 1 1 1 0 3 1 0
Linux 1 1 1 0 0 0 1 0 1 1 0 1 3 0 0 0 1 0 1 1 0 0 0 1 0 0 0 0 1 0 1 0 1 2 0 0 1 1 0 2 1 1 1 1 2 0

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