怎麼將%<替換成檔名.data? # 例如將上面的%<.data替換成下面的檔名.data
:呼叫append(line("."), Expand('%') . ' 以及附加一些內容')
我覺得,網路上能找到答案的,就不用來這裡問了
進入命令列模式
:%s/%<.data/.data/g
用這個指令:
Enter之後的結果:
:呼叫append(line("."), Expand('%') . ' 以及附加一些內容')
雷雷我覺得,網路上能找到答案的,就不用來這裡問了
進入命令列模式
用這個指令:
![](http://img.php.cn/upload/image/000/000/000/a4e9ab8b08c1a8fbf0cc491f562cb9e8-0.png)
Enter之後的結果:
![](http://img.php.cn/upload/image/000/000/000/a4e9ab8b08c1a8fbf0cc491f562cb9e8-1.png)