From 60af46618acc83bed88450bbbb3fbf9d6a1312d3 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 28 Jun 2018 11:03:27 +1200 Subject: Add and configure make_target.vim ftplugin --- .gitmodules | 3 +++ vim/bundle/make_target | 1 + vim/filemap.vim | 4 ++++ 3 files changed, 8 insertions(+) create mode 160000 vim/bundle/make_target diff --git a/.gitmodules b/.gitmodules index 46810091..88144a99 100644 --- a/.gitmodules +++ b/.gitmodules @@ -20,6 +20,9 @@ [submodule "vim/bundle/insert_suspend_hlsearch"] path = vim/bundle/insert_suspend_hlsearch url = https://sanctum.geek.nz/code/vim-insert-suspend-hlsearch.git +[submodule "vim/bundle/make_target"] + path = vim/bundle/make_target + url = https://sanctum.geek.nz/code/vim-make-target.git [submodule "vim/bundle/markdown_autoformat"] path = vim/bundle/markdown_autoformat url = https://sanctum.geek.nz/code/vim-markdown-autoformat.git diff --git a/vim/bundle/make_target b/vim/bundle/make_target new file mode 160000 index 00000000..186591c1 --- /dev/null +++ b/vim/bundle/make_target @@ -0,0 +1 @@ +Subproject commit 186591c1201ffd4f204781a2989e0d7049786d41 diff --git a/vim/filemap.vim b/vim/filemap.vim index bbbf1955..d20a2037 100644 --- a/vim/filemap.vim +++ b/vim/filemap.vim @@ -25,6 +25,10 @@ augroup filetypemap \|nmap r HtmlUrlLink \|nmap t HtmlTidy + " Makefile: make target + autocmd FileType make + \ nmap m MakeTarget + " Perl: check, lint, and tidy autocmd FileType perl \ nmap c PerlCheck -- cgit v1.2.3