nvim
neovim, a modern Vim fork
TLDR
Open file
$ nvim [file]
Open multiple files$ nvim [file1] [file2]
Open at line number$ nvim +[line] [file]
Open in diff mode$ nvim -d [file1] [file2]
Open read-only$ nvim -R [file]
Execute command on startup$ nvim -c "[command]" [file]
SYNOPSIS
nvim [options] [file...]
DESCRIPTION
nvim is Neovim, a modern Vim fork. Extensible text editor with Lua support.The editor provides improved architecture over Vim. Better plugin system and async support.
PARAMETERS
FILE
File(s) to edit.+LINE
Start at line number.-c COMMAND
Execute command after loading.-d
Diff mode.-R
Read-only mode.-u FILE
Use alternate config.--headless
Run without UI.--help
Display help information.
INSTALL
sudo apt install neovim
sudo dnf install neovim
sudo pacman -S neovim
sudo apk add neovim
sudo zypper install neovim
brew install neovim
nix profile install nixpkgs#neovim
CAVEATS
Learning curve from Vim differences. Lua config preferred. Plugin ecosystem differs.
HISTORY
Neovim was forked from Vim in 2014 to modernize the codebase with better architecture.