groupon/tdsql — pull request #3 by dbushong (2013-03-19 18:13:58+00:00)
Title: Add /edit command

Added support for an internal /edit command (callable as /e) modeled after psql's \e command: it invokes your editor on the most recent command, and when the editor exits (presumably with saved changes), puts the result back onto the readline.

Potential future improvement: skip /commands in history and only try to edit the most recent SQL?