Jürgen Krämer wrote: > 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'.
Thanks for the explanation and pointer, I scanned through it yesterday but rushed through. Next time I will read more carefully, promised :) Regards, Andre > > Regards, > Jürgen > -- You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php
