loading...

Vim / Neovim on CentOS 8

nabbisen profile image Heddi Nabbisen ・1 min read

This post shows how to install Vim / Neovim on CentOS 8.

Vim

First, Vim is easy to get:

# dnf install vim

That's really it. Now vim command is available.

Neovim

Next, on Neovim, thanks to AppImage, configuration of EPEL repository is not necessary any more, which has been in CentOS 7.

# # prepare
# dnf install curl
# # for the sake of running appimage:
# dnf install fuse-libs

# # get appimage binary
# curl -o /usr/local/bin/nvim -LO https://github.com/neovim/neovim/releases/download/stable/nvim.appimage
# # to get the nightly version instead:
# #curl -o /usr/local/bin/nvim -LO https://github.com/neovim/neovim/releases/download/nightly/nvim.appimage

# # make it executable
# chmod u+x /usr/local/bin/nvim

Now nvim command is available just like vi or vim.

$ nvim --version
NVIM v0.4.3
...

The "stable" one is v0.4.3. The "nightly" one is also available.

Posted on Jun 9 by:

nabbisen profile

Heddi Nabbisen

@nabbisen

An ICT designer/developer and a security monk. "With a cool brain and a warm heart", I am challenging unsolved problems in our society. I use OpenBSD/Rust/etc.

Discussion

markdown guide