wget
tar -zxvf neovim-0.4.3.tar.gz
cd neovim-0.4.3
make CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX=/usr/local/neovim"
make install
export PATH="/usr/local/neovim/bin:$PATH"
使用vim配置
mkdir -p ~/.config/nvim/
ln -s ~/.vimrc ~/.config/nvim/init.vim
安装插件
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs
阅读(1896) | 评论(0) | 转发(0) |