Skip to main content

neonvim 安装与配置

基于 cmd 安装, (有可能版本会比较旧)

sudo apt-get install neovim

基于源码安装

## install gcc build env
sudo apt-get install build-essential
sudo apt-get install cmake

### could not find luajit
sudo apt-get install luajit

## Could NOT find Gettext
sudo apt-get install gettext libgettextpo-dev

# get source
git clone https://github.com/neovim/neovim.git

cd neovim

#switch stable branch
gco stable

make CMAKE_BUILD_TYPE=RelWithDebInfo

sudo make install

下载 nvim 配置

mkdir -p ~/.config/
git clone https://github.com/netflt/nvim-cpp.git nvim
nvim ./