Copy a line of text without the LF

2006-08-08 Thread Meino Christian Cramer
Hi, 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. With Shift-V I get the line *with* the LF at the end -- so I can not use that. With

Re: Copy a line of text without the LF

2006-08-08 Thread Jürgen Krämer
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 -- Sometimes I think the surest

Re: Copy a line of text without the LF

2006-08-08 Thread Meino Christian Cramer
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

Re: Copy a line of text without the LF

2006-08-08 Thread Meino Christian Cramer
From: Georg Dahn [EMAIL PROTECTED] Subject: Re: Copy a line of text without the LF Date: Tue, 8 Aug 2006 10:05:45 +0100 (BST) Hi Georg, thanks a lot for your reply! :) Good to know, that there are special commands to just copy a line completly without the LF. But why I do need a

Re: Copy a line of text without the LF

2006-08-08 Thread Georg Dahn
Hi! But why I do need a specialised command ? That's no specialised command, but the syntax of y. You type y and then a motion. $ moves to the end of the line. Why does y/$ y/[pattern] moves to the first occurance of the pattern. The cursor is positioned on the first character

Re: Copy a line of text without the LF

2006-08-08 Thread Jürgen Krämer
Hi, Meino Christian Cramer wrote: 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 Meino Christian Cramer schrieb: I am using vim 7.0.42 on a Linux system. I want copy a complete line of text *without+

Re: Copy a line of text without the LF

2006-08-08 Thread Charles E Campbell Jr
Jürgen Krämer wrote: 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$ For the entire line, try

Re: Copy a line of text without the LF

2006-08-08 Thread A.J.Mechelynck
Meino Christian Cramer wrote: Hi, 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. With Shift-V I get the line *with* the LF at the end -- so