> It actually is consistent. There's no cursor movement that represents the > whole line. Actually that's weird for me as the dot (.) supposed to be the representation of the actual line, so it's a mystery for me why not 'd.', 'y.' or 'c.' works. I agree that 'dd' is faster than 'd.' though. Tamas On Dec 3, 2007 12:48 PM, Byron Jeff wrote: > On Mon, Dec 03, 2007 at 04:08:22PM +0800, Xiaofan Chen wrote: > > On 12/3/07, Byron Jeff wrote: > > > Right. The d command is always followed by a direction command. So dl > is > > > acually equivalent to 'x'. > > > > but dd will delete the whole line. ;-) > > It actually is consistent. There's no cursor movement that represents the > whole line. So the command set uses the specification of repeating the > command to represent the whole line so: > > dd: delete a whole line > cc: change a whole line > yy: yank a whole line > > Like I said, consistent. In class I call this the vi command hierarchy and > I find that it's one of its strengths. > > BAJ > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist