You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Ubuntu环境下Vim插件安装后无法运行的问题求助

Ubuntu环境下Vim插件安装后无法运行的问题求助

我按照Mastering Vim这本书里的插件安装步骤操作,但尝试使用插件时完全没效果,实在搞不懂哪里出问题了,想请教大家!

下面是我做的关键操作和相关日志:

我的.vimrc相关配置

对应书中2018版Rusland Osipov所著Mastering Vim第50页的内容:

" See page 50 in the book Mastering Vim by Rusland Osipov 2018.
" This will load documentation for each plugin, as it doesn't do so
" automatically.
packloadall               " Load all plugins.
silent! helptags All      " Load help files for all plugins.
.vimrc (END)

gvim -V启动日志中的关键报错

sourcing "$HOME/.vimrc"
not found in 'packpath': "pack/*/start/*"
not found in 'packpath': "pack/*/start/*"
finished sourcing $HOME/.vimrc

...

chdir(/home/colmin)
fchdir() to previous dir
could not source "$HOME/.gvimrc"
chdir(/home/colmin/.vim)
fchdir() to previous dir
could not source "~/.vim/gvimrc"
not found in 'runtimepath': "bitmaps/Open.png"
not found in 'runtimepath': "bitmaps/Open.xpm"
not found in 'runtimepath': "q...

有没有大佬能帮我分析下问题出在哪,该怎么解决呀?

备注:内容来源于stack exchange,提问作者Retufom

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.17 11:28:18