sponsor Vim development Vim logo Vim Book Ad

pf.vim : OpenBSD pf.conf (packet filter configuration)

 script karma  Rating 648/206, Downloaded by 6215  Comments, bugs, improvements  Vim wiki

created by
Camiel Dobbelaar
script type

!!! NOTE: since Apr-2013 this script has a new maintainer, and it is now hosted on Github: https://github.com/lotheac/pf.vim !!!

Syntax file for OpenBSD's packet-filter (pf) configuration file: pf.conf.

Preview "screenshot" here: http://www.sentia.org/downloads/pf.conf.html
install details
Drop it in your syntax directory.  Type ':setf pf'.

Or make vim autodetect it by having this in ~/.vim/filetypes.vim:
augroup filetypedetect
au BufNewFile,BufRead pf.conf   setf pf
au BufNewFile,BufRead pf.conf.* setf pf
augroup END


rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
pf.vim 1.3 2003-02-24 6.0 Camiel Dobbelaar - altq and table statements
- shorthands: 10/8, 172.16/12
- folding (use ###> for sections and ##> for subsections)
pf.vim 1.2 2002-11-12 6.0 Camiel Dobbelaar Remove highlighting of erroneous {, it is too error-prone.
pf.vim 1.1 2002-11-04 6.0 Camiel Dobbelaar Supports IPv6 now.  Plus most-well-known services.  Strings can now be single quoted too.  Improved matching of assignment.
pf.vim 1.0 2002-07-12 6.0 Camiel Dobbelaar Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
Vim at Github