Set $VISUAL instead of $EDITOR

Here's why: http://robots.thoughtbot.com/visual-ize-the-future