On Nov 16, 12:27 pm, Charles Campbell <[email protected]>
wrote:
> 3. Check your cpoptions setting;  you don't want the "<" character in
> there for this to work.
>     See  :help map_bar

Brilliant!  I haven't yet figured out the subtleties of cpotions yet,
but I found the alternative syntax of

map ,blah %s/\(foo\^V|bar\)//g^[
(where ^V is the hex 16 and ^[ is hex 1b)

in :help map_bar which supposedly should work in any environment.

I have no doubt you're right about \<bar> working given the write
cpoptions and similarly, Christian's syntax, if I define the
environment correctly.

Thanks for the help!  I'll revisit my cpoptions when I have more time
and if I have any epiphanies I think others of my knowledge could
benefit from will post once more.

Cheers.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to