]> git.pld-linux.org Git - packages/vim.git/blobdiff - vim-ftplugin-spec.vim
- cosmetics
[packages/vim.git] / vim-ftplugin-spec.vim
index 4400e3a1ffeafd637724374b5f4752a4441ce0bf..69ed695e7b2ebc46c5d6f9fc43861cc2aa1bea1a 100644 (file)
@@ -2,10 +2,17 @@
 " Language: RPM spec file
 " Author:   Elan Ruusamäe <glen@pld-linux.org>
 " Copyright:    Copyright (c) 2005 PLD Linux
-" Licence:  GPL
+" Licence:  You may redistribute this under the same terms as Vim itself
 "
 " This sets up filetype specific options for RPM spec files.
 
-setlocal tw=70
+"setlocal tw=70
 
+map <F5> :!./builder -5 %<CR>
+map <F6> :!./adapter %<CR>
 map <F8> :!rpmbuild -bb %<CR>
+map <F9> :!cvs diff -u % \| diffcol \| less -nR<CR>
+map <F10> :!./builder -bb -R -u %<CR>
+
+" PLD specfiles are in latin2 encoding for -pl
+setlocal fileencodings=ucs-bom,utf-8,default,latin2
This page took 0.044093 seconds and 4 git commands to generate.