This requires a basic knowledge of emacs-like editors. The number of commands that you really need is minimal, but we'll give the whole list here:
ctrl- Editing Commands
meta- Editing Commands
That should get you going.