Pasting text in VI editor from a different editor


 
Thread Tools Search this Thread
# 1  
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  
If you are using an X-Windows environment of some sort then middle-click usually pastes into a terminal session.
# 5  
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?
# 7  
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... :-)
 

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Text editor in C
julie_s
Hi, I want to create a text editor in C on Unix. Can any1 jus tell me how to start with n wat all I have to look into if I have to write an editor.. Thanks... Programming
2
Programming
Epic Editor was not able to obtain a license for your use. Feature Epic Editor :Licen
durgaprasadr13
Epic Editor was not able to obtain a license for your use. Feature Epic Editor :License server is down... Solaris
1
Solaris
set EDITOR=vi -> default editor not setting for cron tab
aarora_98
Hi All, I am running a script , working very fine on cmd prompt. The problem is that when I open do crontab -e even after setting editor to vi by set EDITOR=vi it does not open a vi editor , rather it do as below..... ///////////////////////////////////////////////////// $ set...... Shell Programming and Scripting
6
Shell Programming and Scripting
Text editor
ASpin
I currently use konsole fo rmy terminal use. when i go into vi and type the letter t the stupied thing highlights the letter brown and it messes my thing up. Whereever i type the letter t it highlights in brown. Is there some way to change it. I dont know how this problem start. RH 8... UNIX for Dummies Questions & Answers
3
UNIX for Dummies Questions & Answers
VI or text editor
Chrisg411
Before I learned how wonderfull VI and Unix was. I used a little crappy DOS editor. I wouldn't go back to it for anything. However I work with a lot of formatted files that use the column position. I wonder if any here knows of a way to make VI display the cursors coulmn position or if there is a...... UNIX for Dummies Questions & Answers
2
UNIX for Dummies Questions & Answers