aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin/make.vim
blob: 38a2b6203bc9cc23b25d291a011afb9dbd4644de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
" Extra configuration for Makefiles
if &filetype !=# 'make' || v:version < 700
  finish
endif

" Stop here if the user doesn't want ftplugin mappings
if exists('g:no_plugin_maps') || exists('g:no_make_maps')
  finish
endif

" Set mappings
nmap <buffer> <LocalLeader>m <Plug>MakeTarget
let b:undo_ftplugin .= '|nunmap <buffer> <LocalLeader>m'