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

To Hastebin

by nicetrysean ALL

Copy code directly from Sublime Text 2 and 3 into HasteBin with Syntax detection!

Details

  • 2015.04.18.03.30.44
  • github.​com
  • github.​com
  • 10 years ago
  • 2 weeks ago
  • 12 years ago

Installs

  • Total 871
  • Win 406
  • Mac 289
  • Linux 176
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 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 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 2 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

ToHastebin!


A Sublime Text 2 plugin built to upload code directly from the editor to Hastebin.com with the correct syntax highlighting!

Usage

Select text, hit the key binding (ctrl+alt+c) and the HasteBin url will be copied to your clipboard, with syntax detection included.

Installing

With the Package Control plugin: The easiest way to install ToHastebin is through Package Control, which can be found at this site: http://wbond.net/sublime_packages/package_control

Once you install Package Control, restart ST2 and bring up the Command Palette (Command+Shift+P on OS X, Control+Shift+P on Linux/Windows). Select “Package Control: Install Package”, wait while Package Control fetches the latest package list, then select ToHastebin when the list appears. The advantage of using this method is that Package Control will automatically keep ToHastebin up to date with the latest version.

Without Git: Download the latest source from GitHub and copy the ToHastebin folder to your Sublime Text “Packages” directory.

With Git: Clone the repository in your Sublime Text “Packages” directory:

git clone https://github.com/s3anno/SublimeToHastebin.git

The “Packages” directory is located at:

  • OS X:

    ~/Library/Application Support/Sublime Text 2/Packages/
    
  • Linux:

    ~/.config/sublime-text-2/Packages/
    
  • Windows:

    %APPDATA%/Sublime Text 2/Packages/