Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Mar 2000 21:57:07 +0000
From:      J McKitrick <jcm@freebsd-uk.eu.org>
To:        Darryl Hoar <darryl@osborne-ind.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: frustrating vim question
Message-ID:  <20000322215707.A74991@dogma.freebsd-uk.eu.org>
In-Reply-To: <000201bf943f$8cf85a40$070101c0@ruraltel.net>; from darryl@osborne-ind.com on Wed, Mar 22, 2000 at 02:45:24PM -0600
References:  <20000322202457.A74310@dogma.freebsd-uk.eu.org> <000201bf943f$8cf85a40$070101c0@ruraltel.net>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Sure.  I thought the answer went to the whole list.  The command is 
'xp'

which  simply deletes a letter, advances the cursor, and then 'p'
pastes the letter back in.  In standard vi style,  the lowercase
command inserts on one side of the cursor, and the uppercase on the
other.
So, 'xp' transposes, while 'xP' puts it back where it was.
jm
-- 
--------------------------------------------
Jonathon McKitrick -- jcm@freebsd-uk.eu.org 
"Doors to the pleasures of heaven or hell,
and i didn't care which."
--------------------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20000322215707.A74991>