Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Cutting and pasting between two different files
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Tony Mechelynck  
View profile  
 More options Oct 18 2012, 4:08 pm
From: Tony Mechelynck <antoine.mechely...@gmail.com>
Date: Thu, 18 Oct 2012 13:08:04 -0700 (PDT)
Local: Thurs, Oct 18 2012 4:08 pm
Subject: Re: Cutting and pasting between two different files
On Oct 18, 8:18 pm, Dave <laredotorn...@zipmail.com> 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 must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.