Use the Vim editor

vim filename.type

Command mode

Insert mode