我按照 Mastering Vim 一书中的安装插件的步骤操作过。但是我尝试的时候没有用。我该怎么办?
这是我所做的。我只展示我认为重要的内容:
" 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': "bitmaps/Open.bmp"
not found in 'runtimepath': "bitmaps/Save.png"
not found in 'runtimepath': "bitmaps/Save.xpm"
not found in 'runtimepath': "bitmaps/Save.bmp"
not found in 'runtimepath': "bitmaps/SaveAll.png"
not found in 'runtimepath': "bitmaps/SaveAll.xpm"
not found in 'runtimepath': "bitmaps/SaveAll.bmp"
not found in 'runtimepath': "bitmaps/Print.png"
not found in 'runtimepath': "bitmaps/Print.xpm"
not found in 'runtimepath': "bitmaps/Print.bmp"
not found in 'runtimepath': "bitmaps/Undo.png"
not found in 'runtimepath': "bitmaps/Undo.xpm"
not found in 'runtimepath': "bitmaps/Undo.bmp"
not found in 'runtimepath': "bitmaps/Redo.png"
not found in 'runtimepath': "bitmaps/Redo.xpm"
not found in 'runtimepath': "bitmaps/Redo.bmp"
not found in 'runtimepath': "bitmaps/Cut.png"
not found in 'runtimepath': "bitmaps/Cut.xpm"
not found in 'runtimepath': "bitmaps/Cut.bmp"
not found in 'runtimepath': "bitmaps/Copy.png"
not found in 'runtimepath': "bitmaps/Copy.xpm"
not found in 'runtimepath': "bitmaps/Copy.bmp"
not found in 'runtimepath': "bitmaps/Paste.png"
not found in 'runtimepath': "bitmaps/Paste.xpm"
not found in 'runtimepath': "bitmaps/Paste.bmp"
not found in 'runtimepath': "bitmaps/Replace.png"
not found in 'runtimepath': "bitmaps/Replace.xpm"
not found in 'runtimepath': "bitmaps/Replace.bmp"
not found in 'runtimepath': "bitmaps/FindNext.png"
not found in 'runtimepath': "bitmaps/FindNext.xpm"
not found in 'runtimepath': "bitmaps/FindNext.bmp"
not found in 'runtimepath': "bitmaps/FindPrev.png"
not found in 'runtimepath': "bitmaps/FindPrev.xpm"
not found in 'runtimepath': "bitmaps/FindPrev.bmp"
not found in 'runtimepath': "bitmaps/LoadSesn.png"
not found in 'runtimepath': "bitmaps/LoadSesn.xpm"
not found in 'runtimepath': "bitmaps/LoadSesn.bmp"
not found in 'runtimepath': "bitmaps/SaveSesn.png"
not found in 'runtimepath': "bitmaps/SaveSesn.xpm"
not found in 'runtimepath': "bitmaps/SaveSesn.bmp"
not found in 'runtimepath': "bitmaps/RunScript.png"
not found in 'runtimepath': "bitmaps/RunScript.xpm"
not found in 'runtimepath': "bitmaps/RunScript.bmp"
not found in 'runtimepath': "bitmaps/Make.png"
not found in 'runtimepath': "bitmaps/Make.xpm"
not found in 'runtimepath': "bitmaps/Make.bmp"
not found in 'runtimepath': "bitmaps/RunCtags.png"
not found in 'runtimepath': "bitmaps/RunCtags.xpm"
not found in 'runtimepath': "bitmaps/RunCtags.bmp"
not found in 'runtimepath': "bitmaps/TagJump.png"
not found in 'runtimepath': "bitmaps/TagJump.xpm"
not found in 'runtimepath': "bitmaps/TagJump.bmp"
not found in 'runtimepath': "bitmaps/Help.png"
not found in 'runtimepath': "bitmaps/Help.xpm"
not found in 'runtimepath': "bitmaps/Help.bmp"
not found in 'runtimepath': "bitmaps/FindHelp.png"
not found in 'runtimepath': "bitmaps/FindHelp.xpm"
not found in 'runtimepath': "bitmaps/FindHelp.bmp"
XSMP handling save-yourself requestcolmin@hp-sitting-room:~$ ```
答案1
我尝试了书中所写的方法,但没有奏效。当我放入 Ruby 插件时,它们就起作用了。目前我只需要 Ruby 插件,所以问题已经解决了。