Use vi or mcedit. If it's too difficult for you, install Midnight Commander (name: mc) and lunch F4 for editing mode.