mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 12:19:24 +00:00
Split out nvim installer
So we dont have to rerun if already there
This commit is contained in:
@ -1,11 +1 @@
|
|||||||
yay -S --noconfirm --needed \
|
yay -S --noconfirm --needed mise github-cli lazygit lazydocker
|
||||||
nvim luarocks tree-sitter-cli \
|
|
||||||
mise github-cli \
|
|
||||||
lazygit lazydocker
|
|
||||||
|
|
||||||
# Install LazyVim
|
|
||||||
rm -rf ~/.config/nvim
|
|
||||||
git clone https://github.com/LazyVim/starter ~/.config/nvim
|
|
||||||
cp -R ~/.local/share/omarchy/config/nvim/* ~/.config/nvim/
|
|
||||||
rm -rf ~/.config/nvim/.git
|
|
||||||
echo "vim.opt.relativenumber = false" >>~/.config/nvim/lua/config/options.lua
|
|
||||||
|
10
install/nvim.sh
Normal file
10
install/nvim.sh
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
if ! command -v nvim &>/dev/null; then
|
||||||
|
yay -S --noconfirm --needed nvim luarocks tree-sitter-cli
|
||||||
|
|
||||||
|
# Install LazyVim
|
||||||
|
rm -rf ~/.config/nvim
|
||||||
|
git clone https://github.com/LazyVim/starter ~/.config/nvim
|
||||||
|
cp -R ~/.local/share/omarchy/config/nvim/* ~/.config/nvim/
|
||||||
|
rm -rf ~/.config/nvim/.git
|
||||||
|
echo "vim.opt.relativenumber = false" >>~/.config/nvim/lua/config/options.lua
|
||||||
|
fi
|
Reference in New Issue
Block a user