On Oct 18, 8:18 pm, Dave <[email protected]> wrote:
> Hi,
>
> I'm using vim 7.3 on Mac 10.7.5. How do I enable cutting and pasting between
> different vim sessions within the same shell? That is, I start one vim
> session, copy some text, quit the file I'm editing, open a new file, and then
> paste what I copied in the previous file. I have seen this on other versions
> of vim I've used (don't remember the version numbers), and so wanted to ask
> how this can be configured, if at all.
>
> Thanks, - Dave
As Michael said, you don't need to quit the first file. You can open
the second file in a split-window or in a new tabpage in the same Vim.
If the file where you want to paste is already open in a different
Vim, you should be able to paste via the clipboard (provided of course
that both Vim instances were compiled with +clipboard and have access
to the clipboard). This works on Windows and on Linux, I haven't tried
it on a Mac.
Best regards,
Tony.
--
Manual, n.:
A unit of documentation. There are always three or more on a
given item. One is on the shelf; someone has the others. The
information you need in in the others.
-- Ray Simard
--
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