Mark on WordPress

TextMate WordPress Plugin Snippet

Posted in WordPress Movies by Mark Jaquith on March 29th, 2006

Check out this time-saving bit of TextMate awesomeness (click for video):

TextMate WordPress

After typing “wpplugin” I pressed TAB, which brought in the plugin template. Each time you see me jumping to the next field, I’m pressing TAB again.

Here’s the TextMate “Snippet” that made it happen:

<?php
/*
Plugin Name: ${1:My Plugin}
Version: ${2:0.1}
Plugin URI: http://txfx.net/code/wordpress/${3:plugin-slug}/
Description: ${4:What does this do?}
Author: ${5:Mark Jaquith}
Author URI: ${6:http://txfx.net/}
*/

$0

?>

You know, if you can save yourself 2 minutes a day, that’s over 12 hours a year. Something to think about.

2 Responses to 'TextMate WordPress Plugin Snippet'

Subscribe to comments with RSS or TrackBack to 'TextMate WordPress Plugin Snippet'.

  1. Abhijit Nadgouda said, on March 30th, 2006 at 4:48 am

    My favorite editor is vim for this.

  2. [...] WordPress video plus a custom snippet made especially for me the proud TextMate users out there in the wild. Posted by rob.c : March [...]

Leave a Reply