diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-26 10:51:06 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-26 10:56:31 +1200 |
commit | c8816903f0dbae151385f7198610f24ad945c01d (patch) | |
tree | 57fd5ce529113810f0776f958ef9e98c095831ce /Makefile | |
parent | Remap normal J only if loading plugins (diff) | |
download | dotfiles-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-- | Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |