Vim:病原体未加载 [英] Vim: Pathogen not loading

查看:88
本文介绍了Vim:病原体未加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近搬到了一台新的MacBook,随身携带了Vim点文件.虽然Pathogen在我的旧MacBook上可以正常工作,但在我的新MacBook上根本无法加载.现在,我从头开始重新安装了Pathogen,并且它也无法在最基本的设置下运行.我已经尝试过iTerm和Terminal.app了,以防是我正在运行的iTerm的较新版本.

I've recently moved to a new MacBook, taking my vim dot files with me. Whilst Pathogen works fine on my old MacBook, it's not loading at all on my new one. I've now reinstalled Pathogen from scratch and it's not working with the most basic setup either. I've tried both iTerm and Terminal.app in case it was the newer version of iTerm I'm running that was the issue.

.vimrc

.vim

有什么想法吗? :)

推荐答案

好的,这有点令人尴尬:$

OK, this is a bit embarrassing :$

事实证明,mMontu通过建议运行:scriptnames向我提供了正确方向的产品.当我运行此脚本时,我注意到我缺少了一大堆脚本,但不是全部.然后,我查看了我先前粘贴的目录结构,发现很多捆绑包都缺少它们下面的任何文件.这是因为他们已经对版本库进行了版本控制,所以他们不致力于我的版本控制. h!重新存储了仓库,现在一切都很好.

As it turns out mMontu gave me the prod in the right direction by suggesting running :scriptnames. When I ran this I noticed that I was missing a heap of scripts but not all of them. I then looked at the dir structure I'd pasted earlier and noticed that a lot of the bundles were missing any files below them. It's because they'd not committed to my version control as they were already versioned repos. Doh! Recloned the repos and now all is well.

谢谢,蒙托! :)

这篇关于Vim:病原体未加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆