aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-26 10:51:06 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-26 10:56:31 +1200
commitc8816903f0dbae151385f7198610f24ad945c01d (patch)
tree57fd5ce529113810f0776f958ef9e98c095831ce /Makefile
parentRemap normal J only if loading plugins (diff)
downloaddotfiles-c8816903f0dbae151385f7198610f24ad945c01d.tar.gz
dotfiles-c8816903f0dbae151385f7198610f24ad945c01d.zip
Refactor filetype-specific .vimrc material
Put filetype bindings into a separate file filemap.vim at the same level as filetype.vim, to be loaded directly after the "filetype" command. This removes per-filetype logic one step from ~/.vimrc, which seems appropriate, and also allows me to use long line breaks in the new file.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 74524338..d031574c 100644
--- a/Makefile
+++ b/Makefile
@@ -548,8 +548,7 @@ install-vim-config:
cp -p -- vim/vimrc $(VIMRC)
install-vim-filetype:
- cp -p -- vim/filetype.vim $(VIMDIR)
- cp -p -- vim/scripts.vim $(VIMDIR)
+ cp -p -- vim/filemap.vim vim/filetype.vim vim/scripts.vim $(VIMDIR)
install-vim-ftplugin:
mkdir -p -- $(VIMDIR)/ftplugin