On 1/3/13, Phil Dobbin <phildobbin@gmail.com> wrote:
> On 01/03/2013 02:15 AM, lei yang wrote:
>
>> Hi experts,
>>
>> I know in one text,we can use "yy" to copy something to another place
>> in text, if I can't to copy something to another place, eg: from a
>> text,and copy something using vim, and paste( we don't need to use
>> vim) something to another place, how could I do? the real question is
>> how chould I put something to the vim chipboard. and it can paste to
>> another place( doc, terminal)
>
> I use these mappings to make copy & paste easier:
>
> '"Yank content in OS's clipboard
> vnoremap <leader>yo "*y
> "Paste content from OS's clipboard
> nnoremap <leader>po "*p'
>
I tried many times.My vim is built in +chipboard
question:
1)" ---> press shift+" ? to get " ?
2)"*y, need press at the same time?
3)how could I select the content I want to copy? can you give me a
whole process about this ?
Thanks
Lei
> For this to work in console Vim, Vim would have to be complied
> +clipboard as has been mentioned. If it has, these would need to be
> appended to your ~/.vimrc.
>
> Cheers,
>
> Phil...
>
> --
> currently (ab)using
> CentOS 5.8 & 6.3, Debian Squeeze & Wheezy, Fedora Beefy & Spherical,
> Lubuntu 12.10, OS X Snow Leopard & Ubuntu Precise & Quantal
>
>
>
>
--
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
Wednesday, January 2, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment