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

Creating your own mappings for /? etc can be done fast.

Something like

cnoremap <m-r><c-r>=PerlToVimRegex(input('type regex'))<cr>

Then type <m-r> in command line. Not perfect - but may be good enough
for you. I can't offer rewriting Vim - would be too much effort.

Marc Weber

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