doc: add README.md

This commit is contained in:
2022-12-01 14:59:03 +08:00
parent 9a43842b88
commit 2b303153dd
+20
View File
@@ -0,0 +1,20 @@
# Nvim config
## Backup plugin version
Because nvim have some breaking changes sometimes. I can not alwaexys use the latest version of plugins.
### Backup
Execute `get_packer_snapshot.sh`. This script will backup all the plugin commit information to a json file.
### Restore
document: https://github.com/wbthomason/packer.nvim#usage
```
vim +"PackerSnapshot lock-${version}.json"
```