Files
nvim-config/makefile
2025-07-20 15:08:15 +02:00

26 lines
675 B
Makefile

NVIM_CONFIG=~/.config/nvim/#
default : print-help
help : print-help
print-help :
@echo -e "Help!?!?"
@echo -e "Use 'make instal' to instal this config to your home config"
@echo -e "Use 'make code' to get code from your config to this project"
@echo -e "ConfigPath=$(NVIM_CONFIG)"
instal :
@echo -e "Installing to $(NVIM_CONFIG)"
cp ./*.lua $(NVIM_CONFIG)
cp -r ./lua $(NVIM_CONFIG)
instal-optionals :
sudo pacman -S wl-clipboard #Use clipboard in wayland
sudo pacman -S xsel #Use clipboard in X11
sudo pacman -S neovide #Neovim in graphical enviorment
code :
@echo -e "Getting code from $(NVIM_CONFIG)"
cp $(NVIM_CONFIG)*.lua ./
cp -r $(NVIM_CONFIG)lua ./