Hello,

I have a mapping which immediately searches for visually selected items.
It achieves this by yanking the selected text and exec[utes] a search for
the register content 
This works so far.

  vmap / y:execute "/".escape(@",'[]/\.*')<CR>

Now I tried this first time for multiline selects, but it does not work:
Selecting this:

USE ICCS_2005
GO

leads to:
-> E486: Pattern not found: USE [EMAIL PROTECTED]@  

To surround the error, I shortened the abbreviation to
   vmap / y:execute "/".@"<CR>,
this causes the same error message.

What is ^@ ?
How can I have \n instead of thes ^@ - characters to make the search work?

Thank You

Joachim
###########################################

This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.f-secure.com/

Reply via email to