Plugin requires files to be placed under "vimcurrent" directory

harish badrinath harishbadrinath at gmail.com
Sun Oct 16 07:03:00 UTC 2011


Hello,

>> 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.
> 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.

Are there any best practices or a HOWTO to add and remote directories
from the run time path ??

I  would prefer the most scriptable approach.
echoing "set runtimepath+=/usr/share/vim-conque"[1] into
/etc/vim/vimrc, which has no effect,

I tried creating a
(a) after directory in /usr/share/vim/vimfiles and added a vimrc file,
it did not get "sourced".
(b) The same with creating file /var/lib/vim/addons/vimrc, which
contains [1] has no effect.
(c) Creating a directory /var/lib/vim/addons/after and a vimrc inside
which contains [1] has no effect.
(d) Creating a file /var/lib/vim/addons/after and then echoing [1] has
no effect.

The one thing that has effect is appending [1] to vimcurrrent/debian.vim.
Does vim package take care of "local" changes to debian.vim, is adding
content to this file the recommended approach ??


Thanks
Harish



More information about the pkg-vim-maintainers mailing list