:help count-items 在VIM 6.3中,以下是如何操作的:。:set report=0 :%s/<?/&/g # returns the count without substitution 在VIM 7.2中,这是如何做的: :%s/<?/&/gn # returns the count without substitution