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
  • 9 years ago
  • 1 hour ago
  • 11 years ago

Installs

  • Total 859
  • Win 403
  • Mac 284
  • Linux 172
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 Mar 6
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 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 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 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/