-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
On 11/10/2012 10:01 AM, Bradley D. Thornton wrote:
> Sorry if this *crosspost* comes across as a repost. the instructions on
> the site say the mail list is located at vim@vim.org and then I get a
> google page with some mail coming from vim_use@googlegroups.com so I
> really have no idea which address to send to - I'm doing both until I
> know which one to add to my address book.
>
> Well here's my issue... :)
>
>
> I installed codepad.vim to ~/.vim/plugin/ and when doing a :CPP got the
> following errors:
>
> <code>
> ~
>
> E354: Invalid register name: '+'
> Traceback (most recent call last):
> File "<string>", line 1, in <module>
> File "<string>", line 37, in codepadPaste
> vim.error
> Press ENTER or type command to continue
> </code>
>
> I found out that this plugin is failing because on my system...
>
> :echo has('xterm_clipboard')
>
> ...returns a 0 in vim and a 1 in gvim.
>
> This really doesn't do all that much from me though. I then tested
> pasting via :CPP with the plugin and it worked fine in gvim - but that's
> not an app I actually use.
>
> Is there a decent pastebin like plugin for vim that I can use, similar
> in function to the codepad.vim plugin, but works?
>
> Preferably one that would allow me to select a pastebin service of my
> choosing would be absolutely ideal :)
>
> I really don't care if it works in gvim too, as long as it works in Vim.
>
Okay the solution is in the wiki here:
http://vim.wikia.com/wiki/Script:2298
Commenting six lines makes it so that it works in both vim and gvim. You
won't have the URL in the buffer but it will be in the address bar of
the browser when it is spawned, and that's good enough to be a
convenient way to do pasties.
- --
Bradley D. Thornton
Manager Network Services
NorthTech Computer
TEL: +1.310.388.9469 (US)
TEL: +44.203.318.2755 (UK)
TEL: +41.43.508.05.10 (CH)
http://NorthTech.US
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Find this cert at x-hkp://pool.sks-keyservers.net
iQEcBAEBAwAGBQJQnqMsAAoJEE1wgkIhr9j3XwQH/2s0jMF6WTztQAfKTd68HhPk
6z1N3wwVG4OYf3Ssj44vs8OuVUY4IS3dS7YT7yywf6Lb+DL3+3s/JqofF92wVQrG
jDD0mSOxbh/A51ERaleT5JI1vioT5W2YvoxA+81QSRICbq8UeIy10opmNDWOPGy+
LgQhUvmJMms1Rx+yPhNAvFQIiGdMvVae1jahhtmpa+QotjxH5epA1pjTF4LPzl3i
mVYKPT77RKxJBoXqS1YKXuB8M9h39UqCudx5IkOydVheGtgKjjPz5rPQ6Yl4TIM0
cxK/mCgpe6hHihKuvvJgtYnA5Smqc+Cp8blWYEvqTqD6iGL+ljVjvj3kaxhVgpk=
=9lNn
-----END PGP SIGNATURE-----
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
Saturday, November 10, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment