https://github.com/yym68686/neovim-config
https://github.com/yym68686/neovim-config
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/yym68686/neovim-config
- Owner: yym68686
- Created: 2022-03-28T16:39:14.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-03-30T01:56:09.000Z (over 3 years ago)
- Last Synced: 2025-06-19T09:52:23.956Z (4 months ago)
- Language: Lua
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 使用指南
安装Neovim
```
apt -y install software-properties-common wget unzip
add-apt-repository ppa:neovim-ppa/stable
apt install -y neovim
```
将vim命令重定向到nvim
```
echo alias vim=nvim >> ~/.bashrc
echo alias vi=nvim >> ~/.bashrc
source ~/.bashrc
```安装 Packer.nvim 插件管理器
```
git clone --depth 1 https://github.com/wbthomason/packer.nvim ~/.local/share/nvim/site/pack/packer/start/packer.nvim
```下载本仓库到本地
```
git clone https://github.com/yym68686/Neovim-config.git /root/.config/nvim
```下载插件
```
nvim +PackerSync
```按`q`退出。