Monday, May 7, 2012

mapping for regular expression search

what's wrong with this mapping

nmap <script> s /[a-z|_|0-9]\+(.\+[^\r\n]\+);\C <CR>

i get the following error.

E492: Not an editor command: _|0-9]\+(.\+[^\r\n]\+);\C <CR>

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

No comments: