Wikia

Vim Tips Wiki

Changes: Script:2519

Edit

Back to page

(adjust Template:ScriptComments to remove id as no longer needed; minor tweaks)
(Change <tt> to <code>, perhaps also minor tweak.)
 
Line 2: Line 2:
   
 
==Comments==
 
==Comments==
You can automatically paste the URL of your code into your clipboard (<tt>@*</tt> is the middle mouse button clipboard):
+
You can automatically paste the URL of your code into your clipboard (<code>@*</code> is the middle mouse button clipboard):
   
Change line or add one below <tt>vim.command('let b:dpaste_url="%s"' % paste_url)</tt>
+
Change line or add one below <code>vim.command('let b:dpaste_url="%s"' % paste_url)</code>
   
<tt>vim.command('let @*="%s"' % paste_url)</tt>
+
<code>vim.command('let @*="%s"' % paste_url)</code>

Latest revision as of 09:45, July 14, 2012

Use this page to discuss script 2519 dpaste: send your buffer or selection to dpaste.com

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on vim.org).
  • This page may be out of date: check the script's vim.org page above, and its release notes.

CommentsEdit

You can automatically paste the URL of your code into your clipboard (@* is the middle mouse button clipboard):

Change line or add one below vim.command('let b:dpaste_url="%s"' % paste_url)

vim.command('let @*="%s"' % paste_url)

Around Wikia's network

Random Wiki