external script
This commit is contained in:
parent
43fda37eb8
commit
32a0be5c12
1 changed files with 15 additions and 0 deletions
15
spacevim.sh
Executable file
15
spacevim.sh
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
echo "Installing Spacevim!"
|
||||
[ -d $HOME/.vim ] && mv "$HOME/.vim" "$HOME/vim_bk"
|
||||
[ -f $HOME/.vimrc ] && mv "$HOME/.vimrc" "$HOME/vimrc_bk"
|
||||
curl -sLf https://spacevim.org/install.sh | bash -s -- --install vim
|
||||
echo "Install Neovim"
|
||||
mkdir -v ~/bin
|
||||
trash ~/bin/nvim
|
||||
curl -L https://github.com/neovim/neovim/releases/latest/download/nvim.appimage -o ~/bin/nvim
|
||||
chmod u+x ~/bin/nvim
|
||||
trash ~/.local/share/nvim #removes spacevim's symlink
|
||||
echo "Install NvChad"
|
||||
git clone https://github.com/NvChad/NvChad ~/.config/nvim --depth 1
|
||||
echo "Install Lunar Vim"
|
||||
LV_BRANCH='release-1.3/neovim-0.9' bash <(curl -s https://raw.githubusercontent.com/LunarVim/LunarVim/release-1.3/neovim-0.9/utils/installer/install.sh)
|
Loading…
Add table
Add a link
Reference in a new issue