Hi,

> Correct me if I'm wrong, but my belief is that Vim does not support  
> the
> clipboard on the Mac.
>
> I'm wondering what would be involved in adding this capability to Vim.

I don't understand. Can you elaborate? Copying to and pasting from  
the mac clipboard works fine. The normal `p` and `y` commands in vim  
don't use the system clipboard, you have to use the "system  
clipboard" register *: "*p to paste, "*y to copy to it. All vims on  
the mac I use have "*p mapped to <D-v> (that's command-v, the usual  
paste shortcut) and "*y to <D-c> (the usual copy). I always use the  
gui versions, though.

It also works with unicode characters -- I just copied some  
international characters from Mail.app to MacVim, worked without  
problems.

> Since I now have some kind of understanding of the concepts  
> involved, I
> wondered whether it would be easy for me to contribute by adding the
> functionality to Vim--perhaps even to be available only when
> 'encoding=utf8', which would be better than nothing!

Well, if I understand you correctly, this already does work. I didn't  
test with a different encoding, I don't see a reason for not using  
enc=utf-8 ;-)

Bye,
Nico

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui