On Thu, March 8, 2012 14:27, Govind wrote: > In which case it will be interesting to see if I can do the command > sequence > x all; f all 'search string' > that is incredibly useful when editing cobol programs or mainframe files, > i.e. show me only the lines that satisfy the search criteria. > > I don't see any need for it right now, just curious. > set fen fdm=expr fde=getline(v:lnum)!~@/ foldlevel=0
You need to reapply the fold-expression, e.g. using zx, since Vim doesn't update the folds automatically when search for something differently. regards, Christian -- 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
