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

Paste to friendpaste.​com

by martinsam ST2

This is a simple plugin for Sublime Text 2 to allow for easily pasting code to friendpaste.com

Details

  • 2012.12.09.22.47.27
  • github.​com
  • github.​com
  • 11 years ago
  • 1 hour ago
  • 11 years ago

Installs

  • Total 124
  • Win 51
  • Mac 46
  • Linux 27
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 Mar 30
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

Sublime Text 2 FriendPaste Plugin

Sublime Text 2 plugin to upload code to http://friendpaste.com directly from the editor with the correct syntax highlighting.

By Samuel Martin <martin.sam@gmail.com>

Twitter: @martinsam

Usage

Select text, hit the key binding (default ctrl+alt+c) and your friendpaste url will be copied to your clipboard, with the proper syntax highlight selected.

Demo

@TODO

Installation

Automatic installation

@TODO - http://wbond.net/sublime_packages/package_control

Manual installation

MacOs

cd /User/[Your User]/Library/Application\ Support/Sublime\ Text\ 2/Packages
git clone https://github.com/martinsam/sublime-friendpaste ./friendpaste

Linux

cd /home/[Your user]/.config/sublime-text-2/Packages/
git clone https://github.com/martinsam/sublime-friendpaste ./friendpaste

Todo

Please read todo.TODO file.

To enjoy the file: using SublimeText2 + PlainTasks plugin

Application Test

Launch test:

python test.py

Output console look like:

% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   193    0   124  100    69    145     80 --:--:-- --:--:-- --:--:--   218
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   193    0   124  100    69    177     98 --:--:-- --:--:-- --:--:--   217
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   193    0   124  100    69    141     78 --:--:-- --:--:-- --:--:--   218
.
----------------------------------------------------------------------
Ran 1 test in 2.457s