Wednesday, October 13, 2010

Executing vim commands from command line

Source

I executed the following when I wanted to replace
all "include" statements in my php files to "include_once"

vim.exe -c "argdo %s/include /include_once /ge | update" *.php

No comments:

Blog Archive