]> git.rmz.io Git - dotfiles.git/blobdiff - vim/ftplugin/PKGBUILD.vim
awesome: autostart qutebrowser instead of dwb
[dotfiles.git] / vim / ftplugin / PKGBUILD.vim
index d4c0f5b23576fa1c7057e4a367eaaba7a7c5a046..b1628f5c22d45fbf78f1f733be9693ac545128f8 100644 (file)
@@ -2,4 +2,12 @@ setlocal expandtab
 setlocal tabstop=2
 setlocal shiftwidth=2
 setlocal softtabstop=2
-nnoremap <Leader>r O# Maintainer: Samir Benmendil <samir.benmendil@gmail.com><Esc>
+setlocal makeprg=makepkg\ -s
+setlocal errorformat=%f:\ line\ %l:\ %m
+
+nnoremap <Leader>u :UpdPkgSums<CR>:redraw!<cr>
+nnoremap <Leader>r O# Maintainer:  Ram-Z <ram-z[at]chakraos[dot]org><Esc>
+nnoremap <buffer> <Leader>c :s/Maintainer/Contributor/<CR>:nohl<CR>
+nnoremap <buffer> <Leader>m :s/Contributor/Maintainer/<CR>:nohl<CR>
+
+" vim: ft=vim