Problems with the plugin description

33 views
Skip to first unread message

Heiko Schröder

unread,
Mar 15, 2024, 2:52:32 AMMar 15
to v...@vim.org

Dear list,

I consulted the description posted in vim/runtime/doc/repeat.txt on github very carefully.  I wanted to install the calendar-vim script which was originally designed (last version) for vim7.2.  I now use vim 9.0. 

I created a directory ~/.vim/pack/calendar/start and unpacked calendar-vim.zip there which creates the usual autoload/ doc/ and plugin/ directories there. 

It was said, that vim searches for the plugins in the start-directory after looking in the .vimrc. 

It should load automatically.  But nothing happens. 


Is there any kind of stupid mistake of mine?

Thanks a lot!

Best regards!

Heiko Schroeder, Ahrensburg, Germany

Christian Brabandt

unread,
Mar 15, 2024, 3:19:22 AMMar 15
to vim...@googlegroups.com, v...@vim.org

On Mi, 13 Mär 2024, Heiko Schröder wrote:

> Dear list,
>
> I consulted the description posted in vim/runtime/doc/repeat.txt on
> github very carefully.  I wanted to install the calendar-vim script
> which was originally designed (last version) for vim7.2.  I now use vim
> 9.0.
>
> I created a directory ~/.vim/pack/calendar/start and unpacked
> calendar-vim.zip there which creates the usual autoload/ doc/ and
> plugin/ directories there.

You are missing a directory.

You should create a directory (let's call it calendar) below
~/.vim/pack/<name>/start/

So you would run the following commands:
mkdir -p ~/.vim/pack/dist/start/calendar &&
git clone git clone git://github.com/mattn/calendar-vim git clone
git://github.com/mattn/calendar-vim

Then restart Vim and you have the :Calendar ex command available.

Thanks,
Christian
--
"The one charm of marriage is that it makes a life of deception a necessity."
-- Oscar Wilde

M

unread,
Mar 15, 2024, 3:23:50 AMMar 15
to vim...@googlegroups.com, v...@vim.org


пт, 15 мар. 2024 г., 09:52 Heiko Schröder <hei...@online.de>:
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/f15b9bb0-bdfb-406f-91eb-eec073e8a731%40online.de.

Hello,

Probably, you weren't really careful while reading the docs. The proper path should have the form pack/manager-name/start/plugin-name/, where both "manager-name" and "plugin-name" are arbitrary.

The purpose of "manager-name" subdirectory is to prevent conflicts between different plugin managers and/or manual plugin installations.

This is documented under `:help packages` topic in Vim's help.

Kind regards,
Matvey
Reply all
Reply to author
Forward
0 new messages