Hmm...I don't know if that's always an option. Sometimes we're on a
machine where we don't have root access, so we don't have the
privileges to reinstall vim. Or admins may decide that there is a
standard version of vim and they don't want to change it. Telling
someone to reinstall vim isn't a solution, it's hiding the real
problem which is why doesn't vim automatically have clipboard support?
Why is it "optional"?
   In any case, I think if xclip is available, that can integrate with
the clipboard, so you
just set up a keyboard shortcut in your local .vimrc.  But xclip
doesn't work well on Windows.
   So I think if you are on a Windows system, where you don't have the
ability to reinstall vim, how can you do a simple thing like "copy
text from vi and paste it in an external app". If you're using vi from
within a putty terminal, putty has copy and paste built into it I
believe. Any other suggestions?

Thanks,
Ven

On Wed, Jan 11, 2012 at 2:39 AM, ConcreteVitamin
<[email protected]> wrote:
> Following your advice I installed vim-gnome. And problem fixed!
>
> Thanks! :)
>
>
> On Wed, Jan 11, 2012 at 3:26 PM, Gary Johnson <[email protected]> wrote:
>>
>> On 2012-01-11, ConcreteVitamin wrote:
>> > Hi All,
>> >
>> > I'm using Vim under Ubuntu's Gnome Terminal (the command "vim"). I
>> > selected
>> > some text in visual mode, then "+y, but when I right clicked on
>> > Firefox's
>> > address bar, the "paste" option is not available. What's the problem?
>> > And how
>> > to fix it?
>>
>> The version of vim that you are using was probably not compiled with
>> support for X11 or the clipboard.  You can check this by executing
>>
>>    :version
>>
>> Ubuntu has several packages that include vim:
>>
>>    package    binary              X11
>>    ---------  ------------------  ---
>>    vim        /usr/bin/vim.basic  No
>>    vim-tiny   /usr/bin/vim.tiny   No
>>    vim-gnome  /usr/bin/vim.gnome  Yes
>>
>> One of these is linked to /usr/bin/vim via /etc/alternatives/vim.
>> You can find out which by executing
>>
>>    ls -l /etc/alternatives/vim
>>
>> I think that all you have to do is install the vim-gnome package and
>> you'll get what you want.
>>
>> Regards,
>> Gary
>>
>> --
>> 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
>
>
> --
> 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

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

Reply via email to