Skip to content

martinsam/sublime-friendpaste

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages