On Oct 19, 4:17 am, David Sanson <[email protected]> wrote: > By default, yanking doesn't yank to the system clipboard, and so the yanked > text isn't available across different instances of vim. You can use "*y to > yank text to the system clipboard and "*p to put text from the system > clipbooard. Or you can put `set clipboard=unnamed` in your .vimrc, to use the > system clipboard as the default register. > > (I'm no expert, so someone please correct this if it is wrong or misleading.)
On Windows, the * (star) and + (plus) registers both mean the system clipboard. On X11 systems, the + (plus) register is used by most programs (including gvim) for Edit→Copy, Edit→Cut and Edit→Paste, while the * (star) register is filled in most programs by selecting (highlighting) something on the screen, and pasted by clicking the middle mouse button. I'm not sure what happens in MacVim but you might try, at first, to start Visual mode (selecting whatever you want to copy) then use Edit→Copy in one instance and Edit→Paste in the other. If it works, look on the right side of the Edit menu which commands are triggered by these menuitems. Here on Linux, Edit→Copy means "+y and Edit→Paste means "+gP (the difference between P and gP is that gP leaves the cursor after the pasted text). -- You received this message from the "vim_mac" 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
