1 " Vim filetype plugin file
2 " Language: RPM spec file
3 " Author: Elan Ruusamäe <glen@pld-linux.org>
4 " Copyright: Copyright (c) 2005 PLD Linux
5 " Licence: You may redistribute this under the same terms as Vim itself
7 " This sets up filetype specific options for RPM spec files.
11 map <F5> :!./builder -5 %<CR>
12 map <F6> :!./adapter %<CR>
13 map <F8> :!rpmbuild -bb %<CR>
14 map <F9> :!cvs diff -u % \| diffcol \| less -nR<CR>
15 map <F10> :!./builder -bb -R -u %<CR>
17 " PLD specfiles are in latin2 encoding for -pl
18 setlocal fileencodings=ucs-bom,utf-8,default,latin2