Copy from eclipse to vim in unix

  1. I would like to copy some code that I wrote in eclipse to vi text editor in unix without retyping the entire code. Is there a way to do this?
  2. jcsd
  3. I like Serena

    I like Serena 6,181
    Homework Helper

    Welcome to PF, lcr2139! :smile:

    Select the code in eclipse.
    Switch to vi and put it into insert mode by pressing 'i'.
    Click middle mouse button (or both left and right button) to paste.
Know someone interested in this topic? Share this thead via email, Google+, Twitter, or Facebook

Have something to add?