Plugin requires files to be placed under "vimcurrent" directory

James Vega jamessan at debian.org
Sun Sep 4 21:16:41 UTC 2011


On Sun, Sep 04, 2011 at 01:19:52PM +0530, harish badrinath wrote:
> I am trying to package conqueterm, a plugin that can be used to invoke
> shell from within vim.
> 
> The plugin source tree contains a directory called autoload, when the
> contents of this directory are place in
> /usr/share/vim/vimcurrent/autoload, the plugin is functional.
> Else
> i get the following error
> "E117:Unknownfunction:conque_term#open"

You'll likely find the Vim addon policy[0] useful.

> My questions are
> (a) Since vimcurrent is a symlink, how should the package handle updates,etc.
> (b) If placing files in vimcurrent is a no-no, how should this be handled ??

Install your package's files to a directory specific to your package[1].
Since you're packaging the conque plugin, /usr/share/vim-conque may be a
logical place.  As an example, the autoload/conque_term.vim file could
be installed to /usr/share/vim-conque/autoload/conque_term.vim.

> (c) If this is done with postinstall or preinstall script magic,
> should my package predepend on vim or vim-gtk ??
> (d) How can i make sure that stale files are not left behind in
> /usr/share/vim/vimXY

The above points won't be something to worry about if my above
recommendations are followed.

[0]: http://pkg-vim.alioth.debian.org/vim-policy.html/
[1]: I know this is different than the current recommendation in the Vim
     addon policy, but it's what I'll be suggesting in a future update
     to the policy.
-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <jamessan at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20110904/41a83c6e/attachment.pgp>


More information about the pkg-vim-maintainers mailing list