vim解决curl 路径报错的问题

curl xxx.txt, 报错 Illegal characters found in URL

使用:%s/\r//g, 将 \r 去除
使用:set fileformat=unix 指定文件格式

参考 https://www.cnblogs.com/xiaodi-js/p/6823054.html

posted @ 2021-11-19 18:10  wanglai  阅读(71)  评论(0编辑  收藏  举报