Vim非贪婪匹配+填充匹配到的字符 Posted on June 20, 2021 by Adin Linux %s/\(.\{-}\)for\s/\1for/g 123 %s/\(.\{-}\)for\s/\1for/g 非贪婪匹配: .\{-} 给匹配分组: \(“待匹配字符\) 填充匹配到的字符: \1, \2, & Post Views: 1,561