自动更新 VIM 插件?

发布于 2024-08-11 04:36:48 字数 21 浏览 2 评论 0原文

vim 插件可以自动更新吗?

Is it possible to update vim plugins automatically?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(6

半透明的墙 2024-08-18 04:36:48

要为这个老问题提供最新答案,Vundle
效果真的很棒。它模拟 ruby​​ bundle gem,您只需在 .vimrc 中配置 Bundle,然后在 vim 中运行 :BundleInstall! 即可。

To provide an up to date answer to this old question, Vundle
works really great. It simulates the ruby bundle gem, you simply configure your Bundles in .vimrc and then run :BundleInstall! inside vim.

等待圉鍢 2024-08-18 04:36:48

这个 vim 插件似乎可以满足您的需求,尽管它没有有一段时间没有更新了。从未使用过它,但作者过去写过“几个”vim 插件。

This vim plugin seems to do what you are after, though it hasn't been updated in a while. Never used it, but the author has written a "few" vim plugins in the past.

风和你 2024-08-18 04:36:48

vim-addon-manager 具有函数:UpdateAddons [{ name} ...] 当不带参数调用时,它会更新所有已安装的插件。

vim-addon-manager has the function :UpdateAddons [{name} ...] which when called with no arguments updates all installed addons.

策马西风 2024-08-18 04:36:48

我的操作系统 (Archlinux) 有一堆包含 vim 插件的软件包。查看您的操作系统是否有类似的软件包。

My operating systems (Archlinux) has a bunch of packages containing vim plugins. Look into you OS for similar packages.

北城挽邺 2024-08-18 04:36:48

例如,如果插件版本在 git 中,您可以 pathogen 和将插件放在另一个目录中。那么更新只是一个命令。

If the plugin versioned in git, for example, you can pathogen and put the plugin in another dir. Then to update is only a command.

音盲 2024-08-18 04:36:48

我更喜欢 bash 脚本。然后您可以将其设置为 cronjob,并且您不依赖于其他支持更新功能的脚本。

I prefer a bash script. Then you can have it set as a cronjob, and you don't depend on other scripts supporting the ability to update.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文