* Jakukyo Friel <weakish@gmail.com>, 2014-12-18, 00:27:
I'm wonder which approach is better?- Integrate into rc.deb directly. (If it detects `vim` installed, copy the file to /usr/share/vim/addons/, etc)- Make a separate vim plugin deb, and make rc.deb suggest it.
A separate package would be probably overkill.But note that you should not detect if vim is installed, or enable the plugin automatically. See the Debian Packaging Policy for Vim for details:
https://pkg-vim.alioth.debian.org/vim-policy.html/x113.html(vim maintainer told me to ignore the suggestion to install addons into /usr/share/vim/addons, but use a private directory, such as /usr/share/vim-rcshell instead.)
-- Jakub Wilk