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

Send​To​Paste​Bin

by xaro ALL

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

Details

  • 2019.11.25.01.50.20
  • github.​com
  • github.​com
  • 5 years ago
  • 2 weeks ago
  • 13 years ago

Installs

  • Total 3K
  • Win 2K
  • Mac 892
  • Linux 868
Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15
Windows 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 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 in your dev_key and account info.

Installation

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