From 51f45f6af445f736ebc2143ed923bd59899e93da Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 25 Apr 2020 17:41:53 +1200 Subject: Roll out the beginnings of XDG support for Vim The idea here isn't to remove ~/.vim, but to be able to use ~/.cache and ~/.config on a per-machine basis. --- Makefile | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 514a4444..8e537c84 100644 --- a/Makefile +++ b/Makefile @@ -588,18 +588,11 @@ install-vim-bundle: install-vim-config 'cp -p -- "$$1" $(VIMDIR)/"$${1#*/}"' _ {} \; $(VIM) -e -u NONE -c 'helptags $(VIMDIR)/doc' -c quit -install-vim-cache: - mkdir -p -- \ - $(VIMDIR)/backup \ - $(VIMDIR)/swap \ - $(VIMDIR)/undo \ - $(VIMDIR)/view - install-vim-compiler: mkdir -p -- $(VIMDIR)/compiler cp -p -- vim/compiler/*.vim $(VIMDIR)/compiler -install-vim-config: install-vim-autoload install-vim-cache +install-vim-config: install-vim-autoload cp -p -- vim/vimrc.stub $(HOME)/.vimrc cp -p -- vim/vimrc $(VIMRC) -- cgit v1.2.3