Thursday January 26, 2006
Today's vim trick
Drop this in file ~/.vim/ftplugin/pod_podchecker.vim
set makeprg=podchecker\ -warnings\ %\ 2>&1\\\|sed\ 's,at.line,:&,'
set errorformat=%m:at\ line\ %l\ in\ file\ %f
Then, when editing a .pod file, you can :make it; and then the command :cope will open a nice little window with all pod errors and warnings, correctly recognized, so you can jump on the corresponding lines in the pod source file only by selecting them.