Wonderful!!!

That is exactly the trick that I was looking for...

BTW, (I know it is now a meta-discussion...) what is the disadvantage to
leaving VIM in ":set paste"?

Thanks!!!


-----Original Message-----
From: John R Larsen [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 01, 2004 10:42 AM
To: Michael Rayle
Cc: [EMAIL PROTECTED]
Subject: Re: cut/paste and mouse scrolling - Update

VI on Linux is really VIM.  In VIM if you use the command ":set paste" just
before you paste in text 
from the paste buffer, then the text won't be tabbed incrementally.  It gets
pasted the way you expect 
it to be.  Once you're done with the paste then use the command ":set
nopaste" to return to normal 
VIM operation.  I was frustrated by this same behavior for a very long time
before I finally stumbled 
across the ":set paste" option.


From:                   "Michael Rayle" <[EMAIL PROTECTED]>
To:                     <[EMAIL PROTECTED]>
Subject:                cut/paste and mouse scrolling - Update
Date sent:              Wed, 1 Sep 2004 09:44:00 -0500

[ Double-click this line for list subscription options ] 

All,

 

In my previous post, I mentioned that I cannot mouse scroll with the realVNC
viewer.

I realized that I was using the 3.3.3 version of the viewer and tried the
4.0 version

 

With RealVNC 4.0, I can use the mouse scroller.  That's great!

 

I do have a problem that has stuck around and I hope that someone help
enlighten me on a solution..

 

When performing a copy/paste from Windows client to Linux server, the
operation that I normally perform is:

1.      mouse select text in Windows
2.      press ctrl-c
3.      switch to VNC window
4.      open text file with VI
5.      go to insert mode
6.      press middle mouse button (scroll wheel)

 

When VI is running in gnome-terminal, the text is not inserted.

When VI is running in xterm, the text is inserted, BUT each line is indented
by an incrementing number of tabs

If the insert is performed into Xemacs, the text is inserted properly.

 

I _really_ want to use VI in most cases to insert text from Windows.

Is there a configuration option that makes it so that the extra tabs don't
get inserted???

 

Thanks!!!

Mike
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list
________________________________________________________
John R. Larsen <[EMAIL PROTECTED]>
http://larsen-family.us
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to