Kamaraju Kusumanchi wrote:
Let's say I have file with 2 lines, whose contents areword1 word2 word3 word4Now I want to treat new line character as a space character just for searching purposes. So that I can search for "word2 word3" and a match will be found.Is this possible? Any extensions which do this
You could use /word2\_s\+word3This will search for word2 followed by one or more whitespace or end-of-line characters followed by word3.
See :help /\_ /Niels
