同学习,共进步

Giant-Panda

Hello World!

github:git clone下载加速以及vim-plug下载插件加速

  • git clone 下载加速
      1. 先在github将仓库地址复制下来
      2. git clone时将https://github.com/* 改为https://gitclone.com/github.com/*

  • vim-plug下载加速
      1. 不使用Plug '作者名/仓库名这种简写' 而是使用Plug '全地址'
      2. 同上面第二步,github.com前面加上gitclone.com/

  • vim-treesitter下载加速

    init.vim结尾加上:

lua <<EOF
for _, config in pairs(require("nvim-treesitter.parsers").get_parser_configs()) do
  config.install_info.url = config.install_info.url:gsub("https://gitclone.com/github.com/", "something else")
end
EOF

已现在来看,以上网址并不完美,最好的github镜像应是https://hub.fasthub.xyz, 既可以浏览github网页,下载也可以提速

posted @   猎犬星  阅读(569)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 周边上新:园子的第一款马克杯温暖上架
· 提示词工程——AI应用必不可少的技术
· Open-Sora 2.0 重磅开源!
点击右上角即可分享
微信分享提示