Changed to nvchad

This commit is contained in:
2023-06-08 16:31:50 +02:00
parent a12f9c63c4
commit 7064af4558
12 changed files with 354 additions and 24 deletions

View File

@@ -113,12 +113,20 @@ cd ~
curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt install -y nodejs
# Install astronvim
printf -- '\033[33m Installing astronvim\n\033[37m'
# Install NvChad
printf -- '\033[33m Installing NvChad\n\033[37m'
if [ ! -d ~/.config/nvim ];
then git clone --depth 1 https://github.com/AstroNvim/AstroNvim ~/.config/nvim;
then git clone https://github.com/NvChad/NvChad ~/.config/nvim --depth 1
ln -sf ~/code_server/config/nvim/lua/custom ~/.config/nvim/lua/custom
fi
# Install astronvim
# printf -- '\033[33m Installing astronvim\n\033[37m'
# if [ ! -d ~/.config/nvim ];
# then git clone --depth 1 https://github.com/AstroNvim/AstroNvim ~/.config/nvim;
# ln -sf ~/code_server/config/nvim/lua/user ~/.config/nvim/lua/user
# fi
# Install platformio
printf -- '\033[33m Installing platformio\n\033[37m'
pip3 install platformio
@@ -143,11 +151,6 @@ ln -sf ~/code_server/tmux.conf ~/.tmux.conf
printf -- '\033[33m Symlinking clang-format config\n\033[37m'
ln -sf ~/code_server/clang-format ~/.clang-format
# Symlink nvim user folder
printf -- '\033[33m Symlinking nvim user folder\n\033[37m'
if [ -L ~/.config/nvim/lua/user ]; then rm ~/.config/nvim/lua/user; fi
ln -s ~/code_server/config/nvim/lua/user ~/.config/nvim/lua/user
# Symlink lazygit config
printf -- '\033[33m Symlinking lazygit config\n\033[37m'
ln -sf ~/code_server/config/lazygit/config.yml ~/.config/lazygit/config.yml