Copy from eclipse to vim in unix

  • Thread starter Thread starter lcr2139
  • Start date Start date
  • Tags Tags
    Eclipse Unix
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 3K views
lcr2139
Messages
58
Reaction score
0
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?
 
Physics news on Phys.org
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.