in reply to Falling at the first hurdle

For a good text editor, try vim. Type:

$ vimtutor

to start an interactive lesson on how to use vim. Once you get the basics down, there are lots of features you can enable.