I'm looking to create a command in a textmate bundle that when run will:
- Search the document for a given string
- Replace that string with another given string
The strings will always be the same
Search for
<?
replace with
<?php
I know I can use textmate's find and replace functionality - I'm just trying to automate a little.
This should only make changes on the current page, not the entire project.
Is this possible?