aboutsummaryrefslogtreecommitdiffstats
path: root/editors/vim/files/defaults_freebsd.vim
blob: 7af379c40118010ba03cc0f7708df5db1427e5d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
let g:is_posix = 1   " Our /bin/sh is POSIX, not bash

" Load a port template when creating a Makefile under the ports tree
augroup FreeBSD
    autocmd!
    autocmd BufNewFile /usr/ports/*/*/Makefile 0r /usr/ports/Templates/Makefile
    if !empty($PORTSDIR)
        autocmd BufNewFile $PORTSDIR/*/*/Makefile 0r $PORTSDIR/Templates/Makefile
    endif
augroup END