Skip to content

dev-desktop: set vim alternative#1102

Open
joshtriplett wants to merge 1 commit into
rust-lang:masterfrom
joshtriplett:nvim-alternative
Open

dev-desktop: set vim alternative#1102
joshtriplett wants to merge 1 commit into
rust-lang:masterfrom
joshtriplett:nvim-alternative

Conversation

@joshtriplett

Copy link
Copy Markdown
Member

The dev desktops install neovim, which accurately has a reputation for
having friendlier defaults. It's a good default for people who don't
have a specific preference for classic vim. So, use
update-alternatives to set vim to refer to neovim.

The dev desktops install neovim, which accurately has a reputation for
having friendlier defaults. It's a good default for people who don't
have a specific preference for classic vim. So, use
`update-alternatives` to set `vim` to refer to neovim.
@marcoieni

Copy link
Copy Markdown
Member

I'm against this change. I don't think overriding ubuntu's default is a good idea. It might be surprising for developers discovering that vim links to neovim.

People can set this themselves if they want for their user.

I'm curious to see what others think.

@joshtriplett

Copy link
Copy Markdown
Member Author

I don't think overriding ubuntu's default is a good idea.

Ubuntu, and Debian, have the same priority (30) for the /usr/bin/vim alternative provided by vim and neovim. AFAICT, they don't express a preference between the two. The alternative just points to whichever of vim and neovim is installed first.

/usr/bin/nvim - priority 30
/usr/bin/vim.basic - priority 30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants