number
& Reuse the flags from the previous substitute command. Must be passed as the first flag. g Replace all matches in the line. c Ask for substitution confirmation. e Prevent error message from displaying when substitution fails. i Perform case insensitive substitution I Perform case sensitive substitution There are more flags that I do not list above. To read about all the flags, check out .:h s_flags Vim如何对匹配行执行命令【Vim】常用总结 (2)
内容版权声明:除非注明,否则皆为本站原创文章。