Github messages for voidlinux
 help / color / mirror / Atom feed
From: paper42 <paper42@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: Neovim template should not contest Vim namespace in `alternatives`
Date: Wed, 16 Mar 2022 01:03:43 +0100	[thread overview]
Message-ID: <20220316000343.mGv-2L_dDEd5OTwE6BvmwU0Q2DHF6-EvkXSc0SbBJaI@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36164@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1507 bytes --]

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/issues/36164#issuecomment-1068583988

Comment:
> when neovim realistically never should’ve been symlinked to `vim` in the first place, is rather obtuse.

I agree that this shouldn't have been handled with alternatives, but now we if we wanted to remove yhem, we have a problem.
Consider a situation in which the user has neovim installed (so vim points to nvim), but doesn't have vim installed. They also use the vim command to launch nvim and didn't set up an alias. They also have $EDITOR and other similar variables set to vim.
Now an update comes which removes the alternatives and suddenly the user can not run their editor with the vim command and even if they fix it with a shell alias, every program that uses $EDITOR is broken until it's manually fixed.

I am not saying this is a bad idea, but it's not without problems.

> > and they can make that choice by installing either package
> 
> Uninstalling Neovim is also an unacceptable solution for those who wish to use both `vim` and `nvim`.

You can just use the xbps-alternatives command to switch to vim and just have both. If you installed them in the right order - vim, then neovim, you don't even have to touch alternatives.

I see why this is confusing and this is part of the reason I don't think nvim should be a vim alternative. On the other hand, I have never seen too different behavior from nvim and vim ootb without any configuration.

  parent reply	other threads:[~2022-03-16  0:03 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-15 22:03 [ISSUE] " atweiden
2022-03-15 22:36 ` classabbyamp
2022-03-15 22:39 ` classabbyamp
2022-03-15 22:44 ` classabbyamp
2022-03-15 22:45 ` classabbyamp
2022-03-15 22:47 ` classabbyamp
2022-03-15 23:35 ` atweiden
2022-03-16  0:03 ` paper42 [this message]
2022-03-16  1:39 ` atweiden
2022-03-16  2:27 ` classabbyamp
2022-03-16  2:28 ` classabbyamp
2022-03-16  2:31 ` Duncaen
2022-03-16  2:39 ` Duncaen
2022-03-16  5:18 ` atweiden
2022-03-16  6:00 ` atweiden
2022-03-16  9:21 ` paper42
2022-03-16  9:51 ` atweiden
2022-03-16 21:55 ` lemmi
2022-03-17  0:35 ` atweiden
2022-03-17  0:52 ` atweiden
2022-03-17  0:54 ` Duncaen
2022-03-17  0:58 ` Duncaen
2022-03-17  1:07 ` atweiden
2022-03-17  1:09 ` tibequadorian
2022-03-17  1:10 ` [ISSUE] [CLOSED] " Duncaen
2022-03-17  1:12 ` tibequadorian
2022-03-17  1:14 ` Duncaen
2022-03-17  1:35 ` Duncaen
2022-03-17  1:50 ` atweiden
2022-03-18 12:09 ` tibequadorian
2022-03-18 12:09 ` tibequadorian
2022-03-18 12:09 ` tibequadorian
2022-03-18 12:12 ` tibequadorian
2022-03-27 18:28 ` Vaelatern
2022-03-27 20:10 ` atweiden
2022-03-27 20:30 ` classabbyamp
2022-03-27 22:00 ` Vaelatern
2022-03-27 22:49 ` atweiden
2022-03-28  1:15 ` Vaelatern

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220316000343.mGv-2L_dDEd5OTwE6BvmwU0Q2DHF6-EvkXSc0SbBJaI@z \
    --to=paper42@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).