]> Pileus Git - vpaste/blobdiff - index.cgi
(no commit message)
[vpaste] / index.cgi
index a9f2465d54469bfbfb7cf2d8d10aba2768b0d917..c5482204103c0ff2f5087b399a2baf9bfe6139b6 100755 (executable)
--- a/index.cgi
+++ b/index.cgi
@@ -140,6 +140,9 @@ cat - <<EOF
                <pre> &lt;command&gt; | vpaste [option=value,..]</pre>
                <br>
                <pre> &lt;command&gt; | curl -F 'x=<-' $SCRIPT_URI[?option=value,..]</pre>
+               <br>
+               <pre>:map vp :exec "w !vpaste ft=".&ft&lt;CR&gt;</pre>
+               <pre>:vmap vp &lt;ESC&gt;:exec "'&lt;,'&gt;w !vpaste ft=".&ft&lt;CR&gt;</pre>
 
                <h4>DESCRIPTION</h4>
                <p>Add <b>?[option[=value],..]</b> to make your text a rainbow.</p>