From: Jürgen Krämer <[EMAIL PROTECTED]> Subject: Re: Copy a line of text without the LF Date: Tue, 08 Aug 2006 10:56:24 +0200
> > Hi, > > Meino Christian Cramer schrieb: > > > > I am using vim 7.0.42 on a Linux system. > > > > I want copy a complete line of text *without+ the final LF at the > > end, so it is possible to insert it elsewhere in the midth of text. > > [snip] > > just use > > y$ > > Regards, > Jürgen > Hi Jürgen, nice to now, that there is just another extra command... :) BUT: For what hopefully logical reason "y/$" does not work? And more important: What is executed instead of one would extrapolate from knowing y/<something other than $>. Or -- exaggerated to the limit -- do I need another extra command to search/yank for example a "m" at line's end ??? I miss some consistency at some place of the commands. (*NO* critism against YOU, Jürgen !!! EXCLAMATION MARKS!!!) Keep hacking! mcc > -- > Sometimes I think the surest sign that intelligent life exists elsewhere > in the universe is that none of it has tried to contact us. (Calvin) >
