From: Alexander Kellett Date: 2005-02-15T04:31:26+09:00 Subject: Re: (OT) Programmer's editors for the Mac On Feb 14, 2005, at 8:10 PM, Trans wrote: > I use vi/vim for quick/light editing. But I don't understand how others > use it as their main editor. And I don't say this lightly: I even > bought a book on using vi/vim. Yet I still often hear how "wonderous" > it is if one does. > > So tell me this, how does one copy and paste without counting lines? > Using n+yy & p (where n is some number) for a few lines is okay, but > beyond that... there's no wonder u don't use vim if you don't know this ;) (v)irtual selections. j a few times. (y)ank it go somewhere, (p)aste it. tip. try editing using only \e/cw/dw/hjkl and characters for a day. *NEVER* use the cursor keys unless you're one handledly inspecting source. Alex