I've the following example:
vim -E http://example.com/
where I'd like to search for
It seems that search only works when the lines are separated, but when the lines are joined together (
%j) then it doesn't work and it says:
Search hit BOTTOM, continuing at TOP
What I'm doing is simply:
The above search works when lines are separated, but not when everything is in one line (just run
%j before doing search).
Any idea why or how to search properly for pattern in Ex mode?
I'm expecting after search that the cursor would be placed under the found pattern (similar as in visual mode), so I'm able to perform further changes (for example removing inner tag content by:
norm vitd), but it doesn't work when the cursor is not placed on the tag it-self. In other words it seems to work only when the tag is at the beginning of the line, but not when it's in the middle.