Bug#864074: defaults.vim: broken configuration

Martin Steigerwald martin at lichtvoll.de
Fri Jul 21 13:17:29 UTC 2017


Martin Steigerwald - 21.07.17, 14:53:
> The issue is, that it is required to have a work-around like this, or the
> one  James suggested – where it will if I understand correctly load
> defaults.vim before making changes to it –, in order to have a sane
> behavior. Since I use Linux, configuration loading always worked from
> global to local. Here it does not, unless you add a work-around.
> 
> This has been an upstream decision according to James and I think its best
> to  bring this issue to upstream. If upstream does not adapt the behavior,
> I am all for a patch in the Debian package, but it seems James thinks
> differently on that one. Another option would be to vote about that new
> behavior by switching to neovim.

I tested configuration for neovim by copying contents of /etc/vim/vimrc.local 
to /etc/xdg/nvim/init.vim (strange location for config file if you ask me) and 
removing the defaults.vim work-around. This basically works just fine. I just 
did "set mouse=" as neovim also enables it by default. But nvim respects this 
without any work-around. It doesn´t seem to have the defaults.vim thing.

I also used update-alternatives --config vim to switch to nvim by default.

Lets see how that works.

This will just be my work-around for my laptop for now.

-- 
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20170721/cd463782/attachment.sig>


More information about the pkg-vim-maintainers mailing list