imathis/octopress — pull request #681 by henrik (2012-07-22 09:25:07+00:00)
Title: Edit new post/page with $OCTOPRESS_EDITOR.

What do you think about something like this?

My first implementation used $EDITOR, but I kind of like that this

1. makes it opt-in
2. lets you specify editor flags just for Octopress, e.g. `export OCTOPRESS_EDITOR="vim +"` to jump to the last line.

Not sure about the shellwords stuff either. Seems slightly nicer than straight string interpolation.