On May 12, 3:24 pm, Jürgen Krämer <[email protected]> wrote:
> Hi,
>
> Clark J. Wang wrote:
> > The 'magic' can only be turned on or off. Can vim be configured to
> > behave in the very magic way? Just like \v is entered every time I
> > start a searching.
>
> no, it can't. Have a look at :help 'magic' for a reason why there is no
> option to let search patterns default to "very magic."
>
> But you can easily put \v at the start of every / or ? command you enter
> by using these maps:
>
> :nnoremap / /\v
> :nnoremap ? ?\v
This is what I'm using to work it around. :) Thanks.
>
> Regards,
> Jürgen
>
> --
> Sometimes I think the surest sign that intelligent life exists elsewhere
> in the universe is that none of it has tried to contact us. (Calvin)
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---