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 495
  • Mac 311
  • Linux 212
Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 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
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 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 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 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

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