查找[

前两天vim打开了一个log日志文件,想替换查找[,使用:%s/[//g一直提示错误

后来发现[需要用转义字符 :%s/[//g就可以了。

原文地址:https://www.cnblogs.com/shining5/p/12054474.html