Paste text into vi file? - Page 3 | Unix Linux Forums | OS X (Apple)

  Go Back    


OS X (Apple) OS X is a line of Unix-based graphical operating systems developed, marketed, and sold by Apple.

Paste text into vi file?

OS X (Apple)


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #15  
Old 08-03-2012
palex palex is offline
Registered User
 
Join Date: Feb 2011
Last Activity: 19 June 2014, 6:43 PM EDT
Posts: 58
Thanks: 22
Thanked 0 Times in 0 Posts
No, there appears to never be a paste option.
Sponsored Links
    #16  
Old 08-03-2012
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 31 October 2014, 9:36 PM EDT
Location: Saskatchewan
Posts: 19,745
Thanks: 832
Thanked 3,375 Times in 3,162 Posts
That's why you need to use X11's instead. That's what happens in an X11 application under OSX.
Sponsored Links
    #17  
Old 08-03-2012
palex palex is offline
Registered User
 
Join Date: Feb 2011
Last Activity: 19 June 2014, 6:43 PM EDT
Posts: 58
Thanks: 22
Thanked 0 Times in 0 Posts
Oh, sorry. I was unclear when I said I can copy and paste within X11. I can highlight and copy text in X11, and paste it into other applications. I CANNOT paste within X11, as there is no paste option.
    #18  
Old 08-03-2012
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 31 October 2014, 9:36 PM EDT
Location: Saskatchewan
Posts: 19,745
Thanks: 832
Thanked 3,375 Times in 3,162 Posts
That's because paste functionality works differently in X11. It's not quite the same as the usual clipboard type of copy-paste, there's contexts and such which usually don't come into the usual copy-paste you see in Windows and the like. Usually, what gets selected gets copied, without a buffer -- if nothing is currently selected anywhere, there's nothing to paste. Quite different from how copy-paste works these days, and you can configure how/if it buffers these days, but that legacy is still there. Not the same, uses different mechanisms. Which is why OSX's own X11 server has its own, independent way to paste inside X11 applications. You can even configure how the X11 server treats key or mouse combinations for pasting.

For details, I refer you to my posts earlier in this thread.
Sponsored Links
    #19  
Old 08-03-2012
palex palex is offline
Registered User
 
Join Date: Feb 2011
Last Activity: 19 June 2014, 6:43 PM EDT
Posts: 58
Thanks: 22
Thanked 0 Times in 0 Posts
Ok, I'll have a closer look... thanks!
Sponsored Links
    #20  
Old 09-22-2012
netwalker's Avatar
netwalker netwalker is offline
Registered User
 
Join Date: Aug 2007
Last Activity: 22 March 2014, 2:41 PM EDT
Posts: 73
Thanks: 1
Thanked 1 Time in 1 Post
If you are using MAC keyboard, you can use CMD (instead of Ctrl) button + V/C/X. It works for me.
MAC mouse has no middle button, in fact it has only touch and one button.
Sponsored Links
    #21  
Old 10-01-2012
vpundit vpundit is offline
Registered User
 
Join Date: Dec 2010
Last Activity: 5 April 2013, 3:51 PM EDT
Location: Toronto, Canada
Posts: 86
Thanks: 11
Thanked 2 Times in 2 Posts
isn't it
Code:
 ctrl + shift+V

---------- Post updated at 01:56 PM ---------- Previous update was at 01:54 PM ----------

also holding control+click will open a drop down menu and should show a paste option. (or copy which ever your trying to do)
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to paste lines below certain text (Script) xxxx Shell Programming and Scripting 8 01-22-2012 01:16 PM
Copy and Paste Columns in a Tab-Limited Text file evelibertine Shell Programming and Scripting 5 05-26-2011 10:01 PM
Copy and paste text from a word document into a txt file in vi Pouchie1 Solaris 3 01-26-2010 09:01 PM
How to Merge / combine / join / paste 2 text files side-by-side cajunfries Shell Programming and Scripting 3 04-27-2009 07:25 PM
Copy/Paste text as commands in AIX Daniele11 UNIX for Dummies Questions & Answers 1 03-18-2007 08:53 PM



All times are GMT -4. The time now is 09:57 AM.