I often find myself running the following commands in sequence when wanting to replace both the lower case and title case instances of a given word, while retaining its original case.
:'<,'>s/Foo/Bar/g
:'<,'>s/foo/bar/g
is there a clean way I can combine the above two commands to achieve the same outcome?