Thursday January 26, 2006
08:45 AM
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.
also works with .pm files (Score:1)
perl_podchecker.vim, you can also check
files.
I don't think I use
tags, for instance.
I didn't know about
with tags.
using make to test and install modules (Score:1)
vim's make command to test and install modules.
I use Module::Build but I could set that in vim.
Re:using make to test and install modules (Score:2)