Sunday, December 1, 2024

Re: Why change the defaults ?

Tony Mechelynck said on Sun, 1 Dec 2024 21:04:09 +0100

>I see several threads aguing in favour of a change of Vim's defaults.
>I believe that such changes are unwise, and here is why :

I agree for an additional reason: Software should be changed only when
there's a compelling reason to change it. Anything less than compelling
is just churn.

>
>I see several threads proposing to make this or that "defaults.vim"
>setting the Vim default for everybody. IMHO this is unwise, because it
>is not backward-compatible. If you want those settings even though you
>have a vimrc, source the defaults.vim or the vimrc_example.vim from
>it. If there are _other_ settings set by the defaults.vim which you
>_don't_ want, well, reverse them when Vim comes back to your vimrc
>after sourcing them. This is the time-honored backward-compatible way
>to do it and if you do it this way instead of changing everyone's
>defaults, no one will be surprised.

The preceding paragraph is obviously the best way to satisfy everyone.
Those who are satisfied with the way things are now keep using Vim as
always. Those who want to adopt the new defaults in-toto source
defaults.vim. Those who want to make their own Vim interface source
something like my_defaults.vim.

SteveT

Steve Litt

http://444domains.com

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/20241201152258.34dd141f%40mydesk.domain.cxm.

No comments:

Post a Comment