]> git.rmz.io Git - dotfiles.git/blob - vim/ftplugin/PKGBUILD.vim
dc8f650828fdaeba372bdbd50f503ec954b07bc4
[dotfiles.git] / vim / ftplugin / PKGBUILD.vim
1 setlocal expandtab
2 setlocal tabstop=2
3 setlocal shiftwidth=2
4 setlocal softtabstop=2
5 setlocal makeprg=makepkg\ -s
6 setlocal errorformat=%f:\ line\ %l:\ %m
7
8 nnoremap <Leader>u :UpdPkgSums<CR>:redraw!<cr>
9 nnoremap <Leader>r O# Maintainer: Ram-Z <chakra[at]rmz[dot]io><Esc>
10 nnoremap <buffer> <Leader>c :s/Maintainer/Contributor/<CR>:nohl<CR>
11 nnoremap <buffer> <Leader>m :s/Contributor/Maintainer/<CR>:nohl<CR>
12
13 " vim: ft=vim