Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
## Pastie integration for Kate, the KDE advanced text editor, by Bèr Kessels. # command line client - http://pastie.caboo.se/paste/584 Make sure you have the commandline client working, from there it is very simple. In the example below, it is called pastie.rb, and available in the PATH. In Kate, choose Settings » Configure Kate » External Tools » New. Fill in the dialog, as follows: Label: Pastie selection (or anything else you like) Script: [ -n "%selection" ] && url=`echo "%selection" | pastie.rb` && kfmclient openURL $url Executable: pastie.rb Save it, and you can quicly paste your selected text by choosing: Tools » External Tools » Pastie selection
This paste will be private.
From the Design Piracy series on my blog: