nvim config
This commit is contained in:
parent
cdfac4d089
commit
9051320319
13 changed files with 399 additions and 0 deletions
|
@ -5,3 +5,9 @@ if [ ! -d "$HOME/.config/nvim" ]; then
|
|||
echo "Installing nvchad"
|
||||
git clone https://github.com/NvChad/NvChad ~/.config/nvim --depth 1
|
||||
fi
|
||||
|
||||
# Check if .config/nvim/custom is a symlink, and if not, symlink to .dotfiles/nvchad/custom
|
||||
if [[ -d "$HOME/.config/nvim/lua/custom" && ! -L "$HOME/.config/nvim/lua/custom" ]]; then
|
||||
mv $HOME/.config/nvim/lua/custom $HOME/.config/nvim/lua/custom_2
|
||||
ln -s $HOME/.dotfiles/nvchad/custom/ $HOME/.config/nvim/lua/
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue