0:Intro The nano editor is designed to emulate the functionality and ease-of-use of the UW Pico text editor. There are four main sections of the editor. The top line shows the program version, the current filename being edited, and whether or not the file has been modified. Next is the main editor window showing the file being edited. The status line is the third line from the bottom and shows important messages. The bottom two lines show the most commonly used shortcuts in the editor. Shortcuts are written as follows... Control-key sequences are notated with a '^' and can be entered either by using the Ctrl key or pressing the Esc key twice. Meta-key sequences are notated with 'M-' and can be entered using either the Alt, Cmd, or Esc key, depending on your keyboard setup. Also, pressing Esc twice and then typing a three-digit decimal number from 000 to 255 will enter the character with the corresponding value. 1:Moving around the page Up Previous line Down Next line Ctrl+Up Previous block of text Ctrl+Down Next block of text Left Back one character Right Forward one character Ctrl+Left Back one word Ctrl+Right Forward one word Ctrl+A (Home) Beginning of current line Ctrl+E (End) End of current line Ctrl+Home Go to the first line of the file Ctrl+End Go to the last line of the file PgUp Go up one screenful PgDn Go down one screenful Alt+Up Scroll up one without moving the cursor Alt+Down Scroll down without moving the cursor Ctrl+C Cursor position. Alt+C Constant cursor position display Alt+N Line numbering enable/disabled Alt+G Go to line and column number Alt+S Soft wrapping of overlong lines enable/disable Editing Text Then We Will Do some Cut, Copy and Paste Search for a string or regular expression Working with documents 2: Alt+U Undo the last operation Alt+E Redo the last undone operation Backspace deletes character tooo the left of cursor or empty line above Delete deletes character underrrr the cursor or empty line below Alt+Backspace delete backward backward from cursor to word start Ctrl+Delete delete forward forward from cursor to next word start Alt+Delete delete current line or marked text Alt+Delete delete current line or marked text Ctrl+] Try and complete the current word 3: Alt+A Mark text starting from the cursor position (Alternately hold down the Shift Key and use the Arrow keys) Ctrl+K (F9) Cut current line or marked region Alt+T Cut from the cursor position to end of file Alt+6 Copy current line or marked region Ctrl+U (F10) Paste 4:Search/Replace for a string or regular expression ^W Search Mode forward ^Q Search Mode backwards ^\ Replace Mode M-C Case Sensitive M-R Regular Expressions M-B Toggle between Backward or Forward Searches M-W Search next occurrence forward M-Q Search next occurrence backward ^R in Search Mode switch to Replace Mode ^R in Replace Mode switch to Search Mode Up and Down Arrow keys to cycle through Searches/Replaces, "Search Wrapped" when all occurrences have been found. 5: Ctrl+X (F2) Close the current doc, if any changes you are prompted to save Y for Yes, N for No, Ctrl + C to Cancel. If only document then Exit from nano. Ctrl+O (F3) Save the current doc or marked region. Ctrl+T Browse the file system Alt+A Append - add this doc to the end of a named file Alt+P Prepend - add this doc to the start of a named file Ctrl+C Cancel Ctrl+R (Ins) Insert Another file into the doc Ctrl+T Browse to find that file Alt+F Create a new doc. Alt+Right Switch to the next doc Alt+Left Switch to the previous doc