Use the appropriate variable for editing text

http://unix.stackexchange.com/questions/4859/visual-vs-editor-whats-the-difference