Use BBEdit or TextWranger for your EDITOR and VISUAL variables when logged in to a Mac