SendToPasteBin
Paste code directly from Sublime Text 3 (and 2) to PasteBin.com
Details
Installs
- Total 3K
- Win 2K
- Mac 894
- Linux 871
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 | May 26 | May 25 | May 24 | May 23 | May 22 | May 21 | May 20 | May 19 | May 18 | May 17 | May 16 | May 15 | May 14 | May 13 | May 12 | May 11 | May 10 | May 9 | May 8 | May 7 | May 6 | May 5 | May 4 | May 3 | May 2 | May 1 | Apr 30 | Apr 29 | Apr 28 | Apr 27 | Apr 26 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 |
Mac | 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 |
Linux | 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 | 1 | 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 asctrl+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