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

Pastery

by apas ALL

Sublime Text plugin for the sweetest pastebin

Details

Installs

  • Total 1K
  • Win 491
  • Mac 309
  • Linux 211
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 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 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
Windows 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 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 2
Mac 0 0 0 0 0 1 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 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 0

Readme

Source
raw.​githubusercontent.​com

pastery

pastery is a Sublime Text plugin for pastery - the sweetest pastebin in the world.

Installation

Through Package Control.

Usage

Settings

Pastery requires an API key. Get yours from your Pastery.net account page.

Open the Pastery’s settings in Sublime Text (Sublime Text 3/4 > Preferences > Package Settings > Pastery > Settings - User) and enter the code snippet below replacing foo with your API key. Save the file and that’s it.

{
  "api_key": "foo"
}

By default, Pastery deletes snippets after 30 days (43200 minutes). If you want to change this, replace the default value of the key duration with the desired value in the settings. The value is set in minutes.

{
  "api_key": "foo",
  "duration": "43200"
}

Now you can use Pastery for Sublime Text.

Paste

Select any text, hit cmd + option + c or print in your command palette Pastery: Send to Pastery and press Enter → enter the desired name of your snippet in the input panel → Enter → the pastery link will be ready to be pasted from your clipboard. If you don’t select any text, the entire file will be pasted. The default snippet name is the file name with the extension for saved files and Untitled for unsaved buffers.

License

MIT