In addition to using the traditional vim, vi, it is recommended to use open -e, such as:
open -e .bash_profile