On 23 January 2011 21:17, Tim Chase wrote:

 > [...]
 >
 > Case #2:
 >
 > Start Vim (-u NONE) on a document
 > Perform a replacement (either a null-op, or just the
 > first-in-a-line with further matches later in the line,
 > or a replacement that allows for the pattern to be found
 > again)
 >
 >  :%s/pattern/&
 >
 > Hit "n" to find the next instance of the pattern or use
 > "/" with an empty pattern.  I get
 >
 >  E35: No previous regular expression
 >
 > [...]

It does indeed seem odd. Interestingly you can prevent
this from happening by starting vim with

   $ vim -u NONE --cmd "set vi='0"

--Antony

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