- install build tools
apt install -y build-essential cmake gettext
- install neovim
git clone https://github.com/neovim/neovim \
&& cd neovim \
&& make CMAKE_BUILD_TYPE=RelWithDebInfo \
&& make install
- edit .bashrc
echo "export XDG_CONFIG_HOME=${HOME}/.config" >> ~/.bashrc
echo "alias vim=nvim" >> ~/.bashrc
source ~/.bashrc
- git clone this repository
git clone https://github.com/k1000dai/nvim ~/.config/nvim
- install plugins (lazy.nvim) lazy.nvim is bootstrapped automatically on first launch.
nvim
Then run:
:Lazy sync
- install nodejs
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash
source ~/.bashrc
nvm install --lts
nvm install node
- install ripgrep and clangd
apt install -y ripgrep
apt install -y clangd