Suppose that I have marks 'a
and 'b
, and I want to search for all occurrences of foo
between them.
The ex
command
:'a,'bs/foo/bar
will replace only between 'a
and 'b
. Is there any command like
:'a,'b/foo
that will find foo
only between those two marks? (That exact syntax does something, but I can't figure out what. It doesn't seem to be what I want.)