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

Carbon

by molnarmark ALL

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

Details

Installs

  • Total 3K
  • Win 1K
  • Mac 884
  • Linux 475
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 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27
Windows 0 1 0 0 4 1 0 3 0 2 4 0 1 4 1 1 0 1 2 0 4 0 1 0 5 3 0 3 0 1 0 3 2 1 1 0 0 2 0 1 1 1 0 1 1 1
Mac 0 0 1 0 1 0 0 0 0 0 2 2 3 0 1 1 0 2 1 2 1 2 0 0 0 0 1 0 0 0 0 0 1 0 1 0 1 1 2 0 0 1 0 2 0 2
Linux 0 1 0 1 0 2 0 0 0 1 1 1 0 0 0 0 0 0 0 1 0 1 0 1 2 0 2 2 0 2 0 1 0 1 1 1 0 0 0 1 2 0 0 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",
  "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.