MAC
### Install Homebrew/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
This step is not necessary in intel based macbooks.
brew install iterm
brew install font-meslo-lg-nerd-font
Add set your terminal font to MesloLGS Nerd Font Mono
.
iTerm2 -> Settings -> Profiles -> Text -> Font
Ubuntu
sudo apt-get install ripgrep
sudo apt-get install curl git
#!/bin/bash
sudo apt install fontconfig
cd ~
wget https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/Meslo.zip
mkdir -p .local/share/fonts
unzip Meslo.zip -d .local/share/fonts
cd .local/share/fonts
rm *Windows*
cd ~
rm Meslo.zip
fc-cache -fv
then set your terminal font to MesloLGS Nerd Font Mono
.
Mac
brew install neovim
Ubuntu
curl -LO
https://github.com/neovim/neovim/releases/latest/download/nvim-linux64.tar.gz
sudo rm -rf /opt/nvim
sudo tar -C /opt -xzf nvim-linux64.tar.gz
First fork the following repo, so that you'll have your own config which you can modify in future, then install by cloning the fork to your machine using one of the commands below, depending on your OS.
NOTE Your fork's url will be something like this:
https://github.com/<your_github_username>/nvim.git
HTTPS
NOTE If you have forked the repo then replace
wgetDJ
with your github username.
git clone https://github.com/wgetDJ/nvim.git "${XDG_CONFIG_HOME:-$HOME/.config}"/nvim
SSH
NOTE If you have forked the repo then replace
wgetDJ
with your github username.
git clone git@github.com:wgetDJ/nvim.git "${XDG_CONFIG_HOME:-$HOME/.config}"/nvim
Open neovim using nvim
. Lazy
should automatically install all the plugins. If not then press :Lazy
to open Lazy UI. Once installation is done press q
to close Lazy UI.
VoilĂ ! Your NeoVim is up and running. Have fun.