Re: register problem

2006-07-11 Thread Benji Fisher
On Sun, Jul 09, 2006 at 04:12:49PM +, Yakov Lerner wrote: On 7/9/06, Matthias-Christian Ott [EMAIL PROTECTED] wrote: Yakov Lerner wrote: This is wrong. You want \n, not '\n'. Ok, but the problem still exists. vnoremap silent C-W :call FormatDeclarationSelection ()CR let

Re: register problem

2006-07-09 Thread Yakov Lerner
On 7/8/06, Matthias-Christian Ott [EMAIL PROTECTED] wrote: Hi, if I e.g. replace a selection via s and want to split the removed text into lines (split (@, '\n'), I get all lines multiplied with the line count (e.g. I select 3 lines, I get these 3 lines 3 times). How can I avoid this behaviour?

Re: register problem

2006-07-09 Thread Matthias-Christian Ott
Yakov Lerner wrote: This is wrong. You want \n, not '\n'. Ok, but the problem still exists. -- Matthias-Christian Ott

Re: register problem

2006-07-09 Thread Yakov Lerner
On 7/9/06, Matthias-Christian Ott [EMAIL PROTECTED] wrote: Yakov Lerner wrote: This is wrong. You want \n, not '\n'. Ok, but the problem still exists. vnoremap silent C-W :call FormatDeclarationSelection ()CR function FormatDeclarationSelection () execute :silent! normal gvs

register problem

2006-07-08 Thread Matthias-Christian Ott
Hi, if I e.g. replace a selection via s and want to split the removed text into lines (split (@, '\n'), I get all lines multiplied with the line count (e.g. I select 3 lines, I get these 3 lines 3 times). How can I avoid this behaviour? -- Matthias-Christian Ott