>even if it's short, I really would like to have >something which work the way I abuse the ! command in vim:
The bang command has an equivalent in vi. >so I just have to replace the ! by s/foo/bar and i get the job done. So far there is no vi command to perform such operation; bang is both a vi and ex command, where as s is an ex command only. The closest you can get to executing the same replacement via a vi command is using the & command which operates on one line. Ben Raskin