| Crates.io | neo-sync |
| lib.rs | neo-sync |
| version | 0.0.8 |
| created_at | 2023-04-23 10:40:27.86975+00 |
| updated_at | 2023-09-17 10:01:11.514644+00 |
| description | Synchronizing Neovim's configurations |
| homepage | |
| repository | https://github.com/nkien0204/neo-sync |
| max_upload_size | |
| id | 846473 |
| size | 43,342 |
Synchronizing Neovim's configurations
Support for MacOS, Linux (not test on Windows yet!)
cargo install neo-sync
Export GITHUB_ACCESS_TOKEN env by your Github Access Token
export GITHUB_ACCESS_TOKEN=<your-access_token>
neo-sync <SUBCOMMAND>
To Upload Neovim's config file:
neo-sync upload
It will try to upload the file on default path ($HOME/.config/nvim/init.vim), or provide -f option if your file is in other location.
After uploaded, an gist.txt which will save the gist_id should be created and locate on $HOME/.config/neo-sync/gist.txt
To Download Neovim's config file:
neo-sync download
neo-sync will look for the gist_id in $HOME/.config/neo-sync/gist.txt and use this id for quering. If you don't have this file, you will need to paste your id when it asked.
After that, your Neovim's config file should be updated. Default location will be $HOME/.config/nvim/init.vim unless you use -f option.
For more information, please run neo-sync -h.