Nano

GNU nano is an easy to use text editor with additional functionality. nano is Gentoo's default editor, means, it is part of each installation. But you can replace it without problems with any other editor.

Installation
Install :

First steps
Start nano by typing in your terminal nano followed by options. The most common option is a file name and path, e.g.:

Nano now shows the content of the text file und you can edit the file. Navigate through the text with the arrow keys.

At the bottom nano shows shortcuts for common actions, e.g. save or exit. The shortcut to save is shown as "^O". You have to prefix the shortcut with the key, so to save press +. To exit press +.

To see an overview over all options run nano --help.

Cut, Copy and Paste
You can cut a line with the shortcut + (copy with +) and paste it with +. To cut / copy multiple line also press the shortcut multiple times.

Search
Search the text with +. Continue the search with +.

Configuration
Set options permanently in the. This configuration applies system wide to all users. To change an options only for one user, set the option in the user's. It overrides system wide settings.

Resources

 * Gentoo Nano Basics Guide