cd ~/tmp
git clone -b stable https://github.com/neovim/neovim
cd neovim
make CMAKE_BUILD_TYPE=RelWithDebInfo CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX=$HOME/opt/neovim"
make install
export PATH="$HOME/opt/neovim/bin:$PATH"
# https://github.com/junegunn/vim-plug#unix-linux
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
git clone git@github.com:slowmoyang/vimrc.git ~/config/vimrc
mkdir -vp ~/.vim/tmp/undo
CocInstall coc-pyright
CocInstall coc-snippets
CocInstall coc-vimtex
CocInstall coc-clangd
:vs|:te
tnoremap <Esc> <C-\><C-n>