14 lines
280 B
Bash
Executable file
14 lines
280 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# required
|
|
mv ~/.config/nvim{,.bak}
|
|
|
|
# optional but recommended
|
|
mv ~/.local/share/nvim{,.bak}
|
|
mv ~/.local/state/nvim{,.bak}
|
|
mv ~/.cache/nvim{,.bak}
|
|
|
|
git clone https://github.com/LazyVim/starter ~/.config/nvim
|
|
rm -rf ~/.config/nvim/.git
|
|
|
|
git -C ~/.config restore nvim
|