* Benji Fisher [2006.10.18 09:15]:
>      I try to avoid such problems by not including raw CR, ESC, etc.
> characters in my vim scripts.  I suggest replacing the two :execute
> lines with
>      execute "normal ?" . l:pattern . "\<CR>"
> and
>      execute "normal /" . l:pattern . "\<CR>"

I was looking for a way to avoid the literals.
Thanks for that. That's definitely better.

-- 
JR

Reply via email to