Hi,

Andre Massing wrote:
> 
> I just occured a possible bug in vim. Instead of search and replace via 
> the substiute command I performed a macro record, recording a search
> :/STRING
> and a
> ce
> and typing something.
> If I execute the recorded macro, it does not open the fold after jumping 
> to the found location and therefore deletes the whole line instead of 
> only the word. That is strange, since the foldopen option contains 
> search and works as expected outside macros. Is this behaviour known?

yes, and it's not a bug. It's even documented at

  :help 'foldopen'

Scroll down and have a look at the first paragraph after the allowed
items for 'foldopen'.

Regards,
Jürgen

-- 
Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us.     (Calvin)

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

Raspunde prin e-mail lui