Bug#671677: vim-tiny: 'filereadable()' in /etc/vim/vimrc does not work

Rogier rogier777 at gmail.com
Sun May 6 13:34:51 UTC 2012


Hi,

For some reason, vim.tiny was registered as an alternative to vim on 
my machine. It must have been a leftover from a previous version of 
vim-tiny - my machine was originally installed with lenny, and has 
been running testing since.

I have removed the alternative.

Thanks very much for your replies.

Regards,

Rogier.

On 2012-05-06 15:02, James McCoy <jamessan at debian.org> wrote:
> On Sun, May 06, 2012 at 10:36:14AM +0200, Rogier wrote:
> > When invoked as 'vim', it does read /etc/vim/vimrc. I verified
> > this by adding an invalid command, which causes a complaint.
> > Also, when removing the 'filereadable()' from /etc/vim/vimrc,
> > /etc/vim/vimrc.local
> 
> > is read:
> Which doesn't happen the way vim-tiny is packaged because it only
> provides /usr/bin/vi, not /usr/bin/vim.  That isn't an oversight,
> it's intentional.
> 
> Cheers,





More information about the pkg-vim-maintainers mailing list