diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-18 10:13:30 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-18 10:13:30 +1200 |
commit | fcc0e387b0f4ae02a07b6c721066749161f9444f (patch) | |
tree | 7f53be591bd7ee03f60d28bc26fec9831b756bf1 /Makefile | |
parent | Check b:is_posix existence not value (diff) | |
download | dotfiles-fcc0e387b0f4ae02a07b6c721066749161f9444f.tar.gz dotfiles-fcc0e387b0f4ae02a07b6c721066749161f9444f.zip |
Scrap auto_cache_dirs plugin for a new approach
Trying this instead; creating the relevant directories at install time.
Also putting all three under one "cache" subdir of ~/.vim or ~/vimfiles.
I'm not sure this is actually better, but I do like that the relevant
options are now set in the .vimrc rather than in a plugin, so I guess
we'll see.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -548,11 +548,17 @@ install-vim-bundle: install-vim-config 'cp -p -- "$$1" $(VIMDIR)/"$${1#vim/bundle/*/}"' _ {} \; $(VIM) -e -u NONE -c 'helptags $(VIMDIR)/doc' -c quit +install-vim-cache: + mkdir -p -- \ + $(VIMDIR)/cache/backup \ + $(VIMDIR)/cache/swap \ + $(VIMDIR)/cache/undo + install-vim-compiler: mkdir -p -- $(VIMDIR)/compiler cp -p -- vim/compiler/*.vim $(VIMDIR)/compiler -install-vim-config: +install-vim-config: install-vim-cache cp -p -- vim/vimrc $(VIMRC) if [ -e /etc/debian_version ] ; then \ cp -p -- vim/system/debian.vim $(VIMDIR)/system.vim ; \ |