User Tools

Site Tools


nano

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
nano [2022/08/15 18:02] – Added tips section with ^z keybind tip peteyboynano [2023/01/23 20:01] (current) – re-order so cheatsheet is up top. peteyboy
Line 1: Line 1:
 ====== The nano editor ====== ====== The nano editor ======
  
-The 'nano' editor is a [[https://www.nano-editor.org/dist/latest/faq.html#1.1 | GNU-project editor]] based on 'pico' a simple but easy to use editor created for the PINE email program for creating and editing emails. It has been expanded quite a bit: there is enhanced navigation, and search which include regex search. +The 'nano' editor is a [[https://www.nano-editor.org/dist/latest/faq.html#1.1 | GNU-project editor]] based on 'pico' a simple but easy to use editor created for the PINE email program for creating and editing emails. It has been expanded quite a bit: there is enhanced navigation, and search which include regex search
 + 
 +==== nano cheatsheet ==== 
 +Nano, like 'pico', has Help. So if you start with the [[pico_cheat_sheet|pico cheatsheet]] and read the Help, you'll get what you need.
  
 A great addition, especially if you connect to SDF on a color terminal, is nano's use of "syntax" files, which provide syntax highlighting for several programming languages and related filetypes, such as HTML files, shell scripts, shell resource files (like ''.bashrc'') and even the nano resource file ''.nanorc'', where the settings for syntax file are kept. A great addition, especially if you connect to SDF on a color terminal, is nano's use of "syntax" files, which provide syntax highlighting for several programming languages and related filetypes, such as HTML files, shell scripts, shell resource files (like ''.bashrc'') and even the nano resource file ''.nanorc'', where the settings for syntax file are kept.
Line 29: Line 32:
 The next time you open nano on an HTML or other file (it keys off the file extension, like ''index.html''), you should see the code hightlighted, which should help your editing significantly! The next time you open nano on an HTML or other file (it keys off the file extension, like ''index.html''), you should see the code hightlighted, which should help your editing significantly!
  
-==== nano cheatsheet ==== 
-Nano, like 'pico', has Help. So if you start with the [[pico_cheat_sheet|pico cheatsheet]] and read the Help, you'll get what you need. 
  
 ====Nano Tips==== ====Nano Tips====
nano.txt · Last modified: 2023/01/23 20:01 by peteyboy