Vim Tips Wiki


Revision as of 09:44, July 14, 2012 by JohnBot (Talk | contribs)

1,614pages on
this wiki

Use this page to discuss script 2298 codepad: Post current buffer to

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


E354: Invalid register name: '+'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "<string>", line 45, in codepadRun

:help E354 leads to the registers topic, where you can read about the '+' register:

7. Selection and drop registers "*, "+ and "~ Use these registers for storing and retrieving the selected text for the GUI. See |quotestar| and |quoteplus|. When the clipboard is not available or not working, the unnamed register is used instead. For Unix systems the clipboard is only available when the |+xterm_clipboard| feature is present. {not in Vi}

My guess is that you do not have +xterm_clipboard compiled into your Vim, or at least +clipboard on non-Unix systems. --Fritzophrenic 13:27, October 21, 2010 (UTC)

Commenting out the '+' and '*' lines fixes the problem for me, like in this paste: ~Neels


Around Wikia's network

Random Wiki