mileszs / ack.vim

Vim plugin for the Perl module / CLI script 'ack'
Other
3.08k stars 396 forks source link

Managing ack command-line options #20

Closed AndrewRadev closed 13 years ago

AndrewRadev commented 13 years ago

Hello, there,

I've implemented two helper commands to make managing ack's command-line options a bit simpler. I use project-specific vim scripts (through the proj.vim plugin) to setup my vim environment sometimes, and I wanted to have an easy way to add directories to the ignore list. Adding them manually to g:ackprg is an option, of course, but I find it a bit annoying that re-sourcing the project file adds them again.

I don't think it's a terribly needed addition, but it shouldn't break the API in any way, so I thought it might be safe to propose a merge upstream.

Thanks for the nice plugin, I'm enjoying Ack a lot :).