aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitmodules3
m---------vim/bundle/make_target0
-rw-r--r--vim/filemap.vim4
3 files changed, 7 insertions, 0 deletions
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
+Subproject 186591c1201ffd4f204781a2989e0d7049786d4
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 <buffer> <LocalLeader>r <Plug>HtmlUrlLink
\|nmap <buffer> <LocalLeader>t <Plug>HtmlTidy
+ " Makefile: make target
+ autocmd FileType make
+ \ nmap <buffer> <LocalLeader>m <Plug>MakeTarget
+
" Perl: check, lint, and tidy
autocmd FileType perl
\ nmap <buffer> <LocalLeader>c <Plug>PerlCheck