[TriLUG] Cutting and Pasting In a Terminal Window

John F Davis trilug@trilug.org
Tue, 12 Mar 2002 08:24:33 -0500


Hello Jeff,

As far as paste sucking in vim goes.  Try :set paste

That will keep your columns lined up.  I might be off a little on the exact
syntax since I put that in my initrc file and don't say
it on the command line all the time.

Also, in vim, you can hit the 'v' key to enter visual mode, mark some text
with your cursor keys, type d, and then
paste the deleted text in another portion of the file.

I hope this helps.

JD

Jeff Bollinger <jeff01@email.unc.edu>@trilug.org on 03/12/2002 07:52:42 AM

Please respond to trilug@trilug.org

Sent by:    trilug-admin@trilug.org


To:    TriLUG <trilug@trilug.org>
cc:
Subject:    [TriLUG] Cutting and Pasting In a Terminal Window



Hey, I was just wondering if someone knew a better way to cut and paste
with the mouse from a terminal window?  I'm using RHAT 7.2 (and Gnome)
and just the standard terminal I guess (is it an Xterm?) and a
two-button (3 emulated) PS/2 M$ Optical mouse.  Currently I highlight my
selection and then click both buttons at the same time to simultaneously
cut and paste (which as you can imagine, sucks in Vi).  Is there a
mapping I can change somewhere, or can I select and use a keyboard
shortcut (SHIFT+INS??)

Thanks,
Jeff
--
Jeff Bollinger
University of North Carolina
IT Security Analyst
105 Abernethy Hall
mailto: jeff_bollinger@unc dot edu

_______________________________________________
TriLUG mailing list
    http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ:
    http://www.trilug.org/~lovelace/faq/TriLUG-faq.html