On 10-07-09 23:01, Tony Mechelynck wrote:
On 09/07/10 21:52, Ben Fritz wrote:
On Jul 8, 12:48 am, Martin Trautmann<[email protected]> wrote:
how do I map s/ to s/\v in order to use "very magic" regular expression
handling as a default?
I know that
:nnoremap / /\v
does work, but I do not really understand the map variations.
This will work fine for normal mode. You probably also want to define
an xnoremap and an onoremap version.
I tried, but it does not work.
so in this case the "nore" may be omitted, the mapping will still not be
recursive.
So I tried also
:nmap :%s/ :%s/\v
But it has no effect. Is there anything I have to escape?
Thanks,
Martin
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php