git clone https://github.com/contractaddress/nvim.git "${XDG_CONFIG_HOME:-$HOME/.config}"/nvim
External Requirements:
- Basic utils:
git,make,unzip, C Compiler (gcc) - ripgrep, fd-find
- tree-sitter CLI
- Clipboard tool (xclip/xsel/win32yank or other depending on the platform)
- A Nerd Font: optional, provides various icons
- if you have it set
vim.g.have_nerd_fontininit.luato true
- if you have it set
- Emoji fonts (Ubuntu only, and only if you want emoji!)
sudo apt install fonts-noto-color-emoji - Language Setup:
- If you want to write Typescript, you need
npm - If you want to write Golang, you will need
go - etc.
- If you want to write Typescript, you need
Note
See Install Recipes for additional Windows and Linux specific notes and quick install snippets
Start Neovim
nvimThat's it! Lazy will install all the plugins you have. Use :Lazy to view
the current plugin status. Hit q to close the window.
Read through the init.lua file in your configuration folder for more
information about extending and exploring Neovim. That also includes
examples of adding popularly requested plugins.
Note
For more information about a particular plugin check its repository's documentation.
The Only Video You Need to Get Started with Neovim
Ubuntu Install Steps
sudo add-apt-repository ppa:neovim-ppa/unstable -y
sudo apt update
sudo apt install make gcc ripgrep fd-find tree-sitter-cli unzip git xclip neovim
Debian Install Steps
sudo apt update
sudo apt install make gcc ripgrep fd-find tree-sitter-cli unzip git xclip curl
# Now we install nvim
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux-x86_64.tar.gz
sudo rm -rf /opt/nvim-linux-x86_64
sudo mkdir -p /opt/nvim-linux-x86_64
sudo chmod a+rX /opt/nvim-linux-x86_64
sudo tar -C /opt -xzf nvim-linux-x86_64.tar.gz
# make it available in /usr/local/bin, distro installs to /usr/bin
sudo ln -sf /opt/nvim-linux-x86_64/bin/nvim /usr/local/bin/
Fedora Install Steps
sudo dnf install -y gcc make git ripgrep fd-find tree-sitter-cli unzip neovim
Arch Install Steps
sudo pacman -S --noconfirm --needed gcc make git ripgrep fd tree-sitter-cli unzip neovim
