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

Send​To​Paste​Bin

by xaro ST2/ST3

Paste code directly from Sublime Text 3 (and 2) to PasteBin.com

Details

  • 2019.11.09.01.58.50
  • github.​com
  • github.​com
  • 6 days ago
  • 2 hours ago
  • 8 years ago

Installs

  • Total 3K
  • Win 1K
  • OS X 826
  • Linux 794
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 0 0 0 0 4 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 4 0 0 1 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
OS X 0 1 0 0 0 1 4 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 2 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0

Readme

Source
raw.​githubusercontent.​com

Sublime Text 3 (and 2) SendToPasteBin Plugin

Sublime Text 3 (and 2) plugin uploads code to Pastebin.com directly from the editor, with the correct syntax highlighting.

Usage

Use shortcuts or commands in the command prompt (prefix SendToPasteBin).

Shortcuts

  • ctrl+alt+c: copy the current selection in Pastebin.com. The resulting Url will be copied to your clipboard
  • ctrl+alt+shift+c: same as ctrl+alt+c, but with a custom name of resulting pasted file

Configuration

SendToPasteBin.sublime-settings:

{
    // See https://pastebin.com/api for api key information.
    "api_dev_key": "your key",
    "api_user_key": "your key",

    // Choose privacy for pastes:
    // 0 = Public, 1 = Unlisted, 2 = Private
    "paste_privacy": 0,

    // Choose expiration for pastes:
    // N = Never, 10M = 10 Minutes, 1H = 1 Hour, 1D = 1 Day, 1W = 1 Week, 2W = 2 Weeks, 1M = 1 Month
    "paste_expiration": "1D",

    // Choose url type:
    // "default", "raw"
    "paste_url_type": "default"
}

To get the dev_key, go to https://pastebin.com/api .

To generate the user_key, go to https://pastebin.com/api/api_user_key.html and fill you dev_key and account info.

Installation

Install through package control or clone this repo in your Sublime Packages/ folder with the name SendToPasteBin