for nano beginners.
- Nano command overview
- The following list contains most of the commands you'll need to work with Nano:
- Ctrl-f Move forward one character.
- Ctrl-b Move backward one character.
- Ctrl-p Move to the previous line.
- Ctrl-n Move to the next line.
- Ctrl-a Move to the beginning of the line.
- Ctrl-e Move to the end of the line.
- Ctrl-v Move forward one page.
- Ctrl-y Move backward one page.
- Ctrl-d Delete the character at the cursor position.
- Ctrl-i Insert a tab at the cursor position.
- Ctrl-^ Mark or unmark the beginning of a block of text.
- Ctrl-k If a block of text has been selected with a mark, cuts the entire block. Otherwise, cuts the current line.
- Ctrl-u Paste at the cursor position the last text cut.
- Ctrl-l Redraw the screen.
- Ctrl-w Search for text.
- Ctrl-j Justify the current paragraph.
- Ctrl-t Start the spell checker.
- Ctrl-c Report the cursor position.
- Ctrl-r Read a file into the document at the cursor position.
- Ctrl-o Save the file (without exiting Nano).
- Ctrl-x Exit Nano, giving you the option to save the file.
- Ctrl-g Get help.
- Alt-U or EscU undo
- Alt-E or EscE redo
- Alt +6 copy
- https://kb.iu.edu/d/aeug
- Ctrl-w: Ctrl-t: ---search and go to the lines
- Alt-Shift-3: show line number