New comment by tibequadorian on void-packages repository https://github.com/void-linux/void-packages/issues/36164#issuecomment-1072350481 Comment: > > I think the problem is that voids alternative system doesn't have priorities like debians alternative system has. This leads to confusion when vim is installed after neovim was installed and it doesn't automatically choose the one with highest priority (which would be vim). > > The alternatives switching just because you install something with a higher priority doesn't sound like a good idea. This priorities thing is what debian does at least... Except that I was wrong on this particular case: Debians vim and nvim have the same priorities so it doesn't switch automatically. But on another case like installing openjdk-17-jre after openjdk-11-jre it holds true that debian automatically switches the alternatives because openjdk-17-jre has a greater priority.