Custom neovim configuration based heavily on kickstart.nvim
'stable' and latest
I frequently do the following to install neovim on linux:
# Install neovim nightly
curl -L https://github.com/neovim/neovim/releases/download/nightly/nvim.appimage -o /tmp/nvim-nightly;
chmod +x /tmp/nvim-nightly;
sudo mv /tmp/nvim-nightly /usr/local/bin;
# Install neovim stable
curl -L https://github.com/neovim/neovim/releases/download/stable/nvim.appimage -o /tmp/nvim-stable;
chmod +x /tmp/nvim-stable;
sudo mv /tmp/nvim-stable /usr/local/bin;
External Requirements:
- Basic utils:
git
,make
,unzip
, C Compiler (gcc
) - ripgrep
- 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_font
ininit.lua
to true - getnf is a simple method to install nerdfonts from the terminal
- if you have it set
Neovim's configurations are located under the following paths, depending on your OS:
OS | PATH |
---|---|
Linux, MacOS | $XDG_CONFIG_HOME/nvim , ~/.config/nvim |
Windows (cmd) | %localappdata%\nvim\ |
Linux and Mac
git clone https://github.com/Peter-McKinney/pete.nvim.git "${XDG_CONFIG_HOME:-$HOME/.config}"/nvim
Start Neovim
nvim
Lazy will install all the plugins you have. Use :Lazy
to view
current plugin status. Hit q
to close the window.
Ubuntu Install Steps
sudo add-apt-repository ppa:neovim-ppa/unstable -y
sudo apt update
sudo apt install make gcc ripgrep unzip git xclip neovim