update README

This commit is contained in:
leafee98 2023-05-21 22:07:10 +08:00
parent 3516e2ed0e
commit f21a29d247

View file

@ -4,18 +4,4 @@ Here is my config of neovim.
## Usage ## Usage
just clone this repository into directory `~/.config/nvim/`, note you need install vim-plug in advance. Just clone this repository into directory `~/.config/nvim/` and start neovim. [lazy.nvim](https://github.com/folke/lazy.nvim) will auto install itself and other plugins at startup.
Install [vim-plug](https://github.com/junegunn/vim-plug) first
```
# line below is from vim-plug's README
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'
```
Clone this repository into directory `~/.config/nvim` or other location under XDG's config directory.
```
git clone git@github.com/leafee98.com/config-neovim.git ~/.config/nvim
```