Using Texter to speed up web design/development

Lifehacker’s Texter let’s you define short macros that allow you type a little, and get a lot back. I’ve not used this before, but am constantly finding myself typing the same bits over and over and over, so this is a very neat and helpful little tool.

Basically, you just define a command, then specify what that should expand to. The command %| inserts the cursor in that location after the replacement. A few macros that I’ve actually found myself using are:

Hotstring Replacement
$g $_GET['%|']
$p $_POST['$|']
<> <?= %| ?>
£ &pound;
l” &ldquo;
r” &rdquo;
msre mysql_real_escape_string(%|)

All nice simple things that make a big difference through the day, particularly <> and the Get and Post ones!

Any more useful ideas for this tool?

  • Share/Bookmark

Related Posts

This entry was posted in PHP, software and tagged , , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.
  • creazionesitiinternet
    I want to be an active member of this blog. What can I do?
blog comments powered by Disqus