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

Snipplr

by jonasdp ST2

Sublime Text 2 package for uploading/downloading code snippets to/from Snipplr.

Details

  • 2012.11.08.20.52.11
  • github.​com
  • 12 years ago
  • 32 minutes ago
  • 12 years ago

Installs

  • Total 1K
  • Win 813
  • Mac 427
  • Linux 187
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 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 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
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 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

Snipplr 1.0.3

Snipplr is a Sublime Text 2 package which is used to upload and download snippets from snipplr.com.

Installation

With Package Control

If you have the Package Control package installed, you can install Snipplr from inside Sublime Text itself. Open the Command Palette and select “Package Control: Install Package”, then search for Snipplr and you're done!

Without Package Control

Go to your Sublime Text 2 Packages directory and clone the repository using the command below:

git clone https://github.com/jonasdp/Snipplr/zipball/1.0.3 Snipplr Don't forget to keep updating it, though!

Without Git

Download the latest version from the tags page. Unzip to your Sublime Text Packages folder (you can find this by opening ST2 and selecting Preferences -> Browse Packages…). You may need to rename the folder from the default to Snipplr. That's it – you shouldn't even need to restart ST2.

Configuration

In order for package to work you need to insert your API-key from snipplr.com in the snipplr.sublime-settings file.

{
  "api_key": ""
}

Note that there are no menu items to trigger Snipplr but there are keyboard shortcuts to trigger upload or download(search your snippets).

Pressing ctrl+alt+p will open a textfield where you can search and insert your snippets from snipplr.com. If you select something in Sublime you can press ctrl+alt+u to upload your snippet. If you want to change the keyboard shortcuts edit the keymap-file for your OS.

[
  {
    "keys": ["ctrl+alt+p"], "command": "snipplr_insert"
  },
  {
    "keys": ["ctrl+alt+u"], "command": "snipplr_upload"
  }
]

Special thanks to Johannes who did the hard work and started the project!