On 15/01/2012 06:41 a.m., Pau wrote: > I very frequently have to look for a couple of words in a huge > document to find the place where I have to resume work or do > modifications. Unfortunately, the search function stops in a new line, > so that if I look for "a very interesting place which was far away" > vim will not find it if there is a new line, i.e. something like this > > a very > interesting place > which was far away > > How can I tell vim to ignore new lines in the search function? > > thanks, > > Pau
See http://vim.wikia.com/wiki/Search_across_multiple_lines In your case you only need to do: :S a very interesting place which was far away -- Cesar -- 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
