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
  • 4 years ago
  • 2 hours ago
  • 12 years ago

Installs

  • Total 3K
  • Win 2K
  • Mac 887
  • Linux 862
Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7
Windows 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
Mac 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 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 1 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