这就是我试图做的:
%s/Article/<h2>Article</h2>/gi
不幸的是,每次我通过vim编辑器执行这个命令时,它都会说:
尾随字符
为了缓解上述情况,我执行了以下措施:
%s/\s*\r*$//
And it executes successfully, but when I go back to the original search and replace command, it again reads '尾随字符' and does not execute the search and replace operation.
我做错了什么?