add README

This commit is contained in:
leafee98 2022-01-06 16:12:53 +08:00
parent 9e9bb86342
commit 2ac4611933

21
README.md Normal file
View file

@ -0,0 +1,21 @@
# My config of Neovim
Here is my config of neovim.
## Usage
just clone this repository into directory `~/.config/nvim/`, note you need install vim-plug in advance.
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
```