Fandom

Vim Tips Wiki

Script:2298

1,624pages on
this wiki
Add New Page
Talk0

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

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

  • 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.

ProblemEdit

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

: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: http://codepad.org/jHAdZuSs ~Neels

CommentsEdit

Also on Fandom

Random Wiki