On Tue, Feb 04, 2025 at 03:49:40PM +0100, Andrea Pappacoda wrote:
> Hi, with patch 9.1.0895 Vim started defaulting to a history of 200 instead
> of 50. This was already the case when sourcing defaults.vim in one's vimrc,
> or when using no vimrc at all.
> 
> What patch 9.1.0895 done was removing the `set history=200` from
> defaults.vim and altering the actual history option default in the C source.

Thanks! I agree that things which have been moved into the source can be
removed from debian.vim.

> Apart from this issue in particular, though, I feel that `debian.vim`'s role
> should be revised. Now that Vim has a `defaults.vim` file which contains
> lots of goodies, some of `debian.vim`'s settings seem redundant. As an
> example, both of them set the `nocompatible`, `backspace`, `history`, and
> `ruler` options are duplicated.

The problem with defaults.vim is that it is only sourced if a user
doesn't have a vimrc, so the "defaults" are inconsistent. I'd rather
keep the behavior stable, so only removing things from debian.vim if
they've been superceded by real defaults.

Cheers,
-- 
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7  2D23 DFE6 91AE 331B A3DB

Reply via email to