Files
nvim-config/makefile

34 lines
1.2 KiB
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 instal-optionals' to instal additional interesting packages: nvim, neovide, wl-clipboard"
@echo -e "Use 'make instal-zsh-optionals' to instal additional interesting packages: zsh, easy-zsh-config, oh-my-posh"
@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 --needed vim nvim tree
sudo pacman -S --needed wl-clipboard #Use clipboard in wayland
# sudo pacman -S --needed xsel #Use clipboard in X11
sudo pacman -S --needed neovide #Neovim in graphical enviorment
instal-zsh-optionals :
sudo pacman -S --needed zsh #zsh shell environment
yay -S --needed easy-zsh-config #zsh suggestion/command-completion and syntax higlighting
yay -S --needed oh-my-posh #zsh theme provider
code :
@echo -e "Getting code from $(NVIM_CONFIG)"
cp $(NVIM_CONFIG)*.lua ./
cp -r $(NVIM_CONFIG)lua ./