Most nano commands are invoked by holding down theCtrl key (that is, the control key), andpressing one of the other keys. In this text, the control key isreferred to using ^. For example, ^Xmeans ``hold down the CTRL key and press the x key''. Most of theimportant commands are listed at the bottom of your screen.
| ^G | nano help |
nano filename.In nano, you can insert another file:
| ^R | read an existing file into nano (inserted at the current cursor position) |
| ^T | opensa browser that allows you to select a file name from a list of files and directories |
Other navigation commands:
| ^A | move to beginning of line |
| ^E | move to end of line |
| ^Y | move down a page |
| ^V | move up a page |
| ^_ | move to a specific line (^_^Vmoves to the top of the file, ^_^Y to the bottom) |
| ^C | find out what line the cursor is currently on |
| ^W | search for some text. |
When searching, you will be prompted for the text to search for. Itsearches from the current cursor position, wrapping back up to the topif necessary.
Delete commands:
| ^D | delete character currently under the cursor |
| BackSpace | delete character currently in front of the cursor |
| ^K | delete entire line |
| ^\ | search for (and replace) a strong of characters |
Note that pressing ^U more than once will cause multiple copies tobe inserted. This is particularly useful if you want to copy text:
| ^O | save contents without exiting(you will be prompted for a file to save to) |
| ^X | exit nano (you will be promptedto save your file if you haven't) |
| ^T | when saving a file, opensa browser that allows you to select a file name from a list of files and directories |
Source : Mintaka
Communiquer avec moi par courriel à l'adresse folivier « A commercial » f0.ca