Personal tools
You are here: Home Plone XP Open Source Software Review Vim in Advance

Vim in Advance

some advance usage about Vim

Search and Replace in Advance

Here are some examples:

%s/include .*\(styles\/.*\.php\)"/include(a_func("\1", "PATH"));/gc
%s/php echo .*\/\(styles\/.*\.\(gif\|jpg\|png\)\)"/php echo a_func('\1');?>"/gc

Try to use :s/ to do search.

Document Actions