On Tue, January 10, 2012 2:25 am, Linda W wrote:
>
>
> Marc Weber wrote:
>>> Vim syntax has far too many inconsistencies for me to remember.
>>> Just the fact that "\" doesn't always quote the next char -- trying
>>> to remember all of it's exceptions is not possible for me.
>>>
>>
>> You could write a substitute command once makeing it little bit more
>> consistent - maybe you can even write a "translate perl to vim syntax"
>> for the most often used use cases.
>>
> Um, forgive me kind sir, for your generous offer, but might I suggest
> that suggesting to someone who doesn't know all the exceptions and
>  syntax, to write an extension to automatically map such exceptions
> and syntax into a more regular form might be a bit like having the
> cart before the horse, not to mention, I've been told vim doesn't
> have the same capabilities, so writing such would be an exercise of
> great frustration...

Recently there was a similar request on vim_dev where I posted a minimal
script, that can be used to translate vim RE to ERE. May be you want
to try it out. I haven't had time to fix the script up to a complete
plugin yet.

See the thread starting at:
http://groups.google.com/group/vim_dev/msg/f326d152685dd265

regards,
Christian

-- 
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

Reply via email to