[lug] vi editor

D. Stimits stimits at idcomm.com
Thu Oct 26 02:28:49 MDT 2000


John Starkey wrote:
> 
> Thanks. I finally found it hidden at the bottom of the vim HOWTO. But I
> didn't think to control-d. There is no need if it's blank right?? No
> hidden characters that need to be cleared.
> 
> When vi refers to buffer it means the whole file is my impression now, is
> this correct? I originally thought the buffer meant the "clipboard"
> (please excuse the Windoze ref :} ).

I think there are different meanings for buffers, especially if you
consider other editors like emacs. But the copy or cut buffer is what I
refer to with shift-d...the clipboard if you prefer that name.

> 
> On Thu, 26 Oct 2000, D. Stimits wrote:
> 
> > 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
> >
> > _______________________________________________
> > Web Page:  http://lug.boulder.co.us
> > Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> >
> 
> _______________________________________________
> 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