I'm currently editing some files which contain several more or less independent sets of data. At any one time, I'm generally working on one, and only one set, delimited as a contiguous range of lines. I'd like to limit all of the search commands to only consider this range.
I'm aware of using \%<'m and \%>'m in the search string, but this has to be entered each search. My initial idea was to fold the regions before and after the range, but this doesn't seem to stop the search, and it automatically opens the fold when it finds something in the folded text. I want it to not search in the folded text. Is there some option to make search ignore folded text, or some other way of achieving what I want. -- James Kanze -- 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
