Skip to content

Commit

Permalink
fix(migration): add commands for cleaning old neovim configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed Mar 28, 2024
1 parent 617743c commit fedaf40
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/content/docs/configuration/v4_migration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,12 @@ Checkout the [Managing User Configuration Page](/configuration/manage_user_confi
4. Once you have your configuration set up how you like it, move it over to the default neovim configuration location `~/.config/nvim`:

```sh
# Backup old Neovim folders
mv ~/.local/share/nvim ~/.local/share/nvim.bak # backup old data folder
mv ~/.local/state/nvim ~/.local/state/nvim.bak # backup old state folder
mv ~/.cache/nvim ~/.cache/nvim.bak # backup old cache folder
mv ~/.config/nvim ~/.config/nvim.bak # backup old config
# Move new configuration into place
mv ~/.config/astronvim_v4 ~/.config/nvim # move new config
```

Expand Down

0 comments on commit fedaf40

Please sign in to comment.