Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Installation

The installation has two parts:


Setting Up neovim

If you already have neovim installed on your machine, feel free to skip this step.

  1. Select the neovim version
neovim versionCommand
v0.9.xNVIM_VERSION=v0.9.5
v0.10.xNVIM_VERSION=v0.10.3

For other versions, please refer to neovim’s releases page.

  1. Install neovim from pre-compiled binary
wget https://github.com/neovim/neovim/releases/download/"${NVIM_VERSION}"/nvim-linux64.tar.gz
rm -rf /usr/local/nvim-linux64 && tar -C /usr/local -zxvf nvim-linux64.tar.gz # as root
  1. Setting up the $PATH variable
  • Bash
    • echo 'PATH=/usr/local/nvim-linux64/bin:$PATH' >> $HOME/.bashrc
      source $HOME/.bashrc
      
  • Zsh
    • echo 'PATH=/usr/local/nvim-linux64/bin:$PATH' >> $HOME/.zshrc
      source $HOME/.zshrc
      
  1. Check the neovim version
nvim --version

Setting Up the Config

mkdir -p $HOME/.config/nvim \
&& git clone https://github.com/kevinliao852/my-nvim-config.git $HOME/.config/nvim/

After setting up the config, type nvim on the terminal and wait a few seconds to have plugins installed.