The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
set EDITOR=vi -> default editor not setting for cron tab aarora_98 Shell Programming and Scripting 6 09-13-2008 02:01 AM
Don't forget the text editor iBot UNIX and Linux RSS News 0 06-26-2008 11:20 AM
Text editor ASpin UNIX for Dummies Questions & Answers 3 12-06-2002 12:35 AM
Text editor on Sun OS 3.0 malic UNIX for Dummies Questions & Answers 2 11-20-2001 07:01 PM
VI or text editor Chrisg411 UNIX for Dummies Questions & Answers 2 11-09-2001 11:11 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-10-2008
harishmitty harishmitty is offline
Registered User
  
 

Join Date: Sep 2008
Posts: 8
Pasting text in VI editor from a different editor

Hi,

I knw its a silly question, but am a newbie to 'vi' editor. I'm forced to use this, hence kindly help me with this question.

How can i paste a chunk 'copied from' a different editor(gedit) in 'vi editor'?
As i see, p & P options does work only within 'vi'.
  #2 (permalink)  
Old 09-10-2008
Annihilannic Annihilannic is offline Forum Advisor  
  
 

Join Date: May 2008
Location: Sydney, Australia
Posts: 1,009
If you are using an X-Windows environment of some sort then middle-click usually pastes into a terminal session.
  #3 (permalink)  
Old 09-10-2008
Annihilannic Annihilannic is offline Forum Advisor  
  
 

Join Date: May 2008
Location: Sydney, Australia
Posts: 1,009
Sometimes shift-insert will do it too.
  #4 (permalink)  
Old 09-10-2008
harishmitty harishmitty is offline
Registered User
  
 

Join Date: Sep 2008
Posts: 8
Yes, but Middle-click or shift-insert isn't working within 'vi' editor.
It works in gedit.
  #5 (permalink)  
Old 09-10-2008
Annihilannic Annihilannic is offline Forum Advisor  
  
 

Join Date: May 2008
Location: Sydney, Australia
Posts: 1,009
Are you in X-Windows? Or connected via SSH/PuTTY or similar? I'm not familiar with gedit... is it a GUI application? In other words... when you copy something to the clipboard from gedit... which clipboard is it going to?
  #6 (permalink)  
Old 09-10-2008
harishmitty harishmitty is offline
Registered User
  
 

Join Date: Sep 2008
Posts: 8
am not sure of what u're asking. Gedit is a GUI based editor(like ur notepad in windows)
  #7 (permalink)  
Old 09-10-2008
Annihilannic Annihilannic is offline Forum Advisor  
  
 

Join Date: May 2008
Location: Sydney, Australia
Posts: 1,009
Okay, so I take it you are not in Windows... are you using VNC or something to connect to a remote server? Or are you directly in front of a PC running Linux with KDE or Gnome or something? And if that is the case, how are you running vi, in an xterm window? Or konsole? Maybe a screenshot would tell a thousand words... :-)
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:10 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0