[lug] vi editor

D. Stimits stimits at idcomm.com
Thu Oct 26 01:02:56 MDT 2000

John Starkey wrote:
> I'm negotiating a job which will mainly involve vi and once again BLUG to
> the rescue. I'm going through PC (or Drew's) vi mini-HOWTO from last year.
> I've been using vi since PC Drew wrote that (thanks) and I've been
> avoiding one problem like the plague:
> How do you delete the remainder of a line and move the bginning of the
> next line to the end of the current one.

Move the cursor to the first position to be deleted. Shift-d to delete
to EOL. This places it in your paste buffer as well as deleting.

To append a line to the prior line, move to the upper of the two lines,
and shift-j.

> So:
> This line here is, like, supposed to
> be a full line.
> How would I connect "to" and "be" to make a complete sentence?

Cursor to first of 2 lines, shift-j.

> Thanks,
> John
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug

More information about the LUG mailing list