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
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.
@TODO
@TODO - http://wbond.net/sublime_packages/package_control
cd /User/[Your User]/Library/Application\ Support/Sublime\ Text\ 2/Packages
git clone https://github.com/martinsam/sublime-friendpaste ./friendpaste
cd /home/[Your user]/.config/sublime-text-2/Packages/
git clone https://github.com/martinsam/sublime-friendpaste ./friendpaste
Please read todo.TODO
file.
To enjoy the file: using SublimeText2 + PlainTasks plugin
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