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 revision Previous revision
nano [2022/04/30 01:38]
peteyboy emphasized sections
nano [2022/08/15 18:02] (current)
peteyboy Added tips section with ^z keybind tip
Line 28: Line 28:
  
 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 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, 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==== 
 + 
 +=== Old Suspend Key === 
 +As of nano 6.4 suspend behavior was changed. Instead of ''ctl-z'' (also typed //^z//, in the nano menu itself) being suspend as it was before, typing ''^z''  warns you that you need to to ''^t^z'' if you '''really''' mean to suspend. 
 + 
 +You can reset to the old way by putting this in your //.nanorc// That makes ''^z'' suspend again. 
 + 
 +  ## Allow nano to be suspended with ''^z'' the old way, not ''^t^z' 
 +  bind ^Z suspend main  
 + 
 + 
nano.txt · Last modified: 2022/08/15 18:02 by peteyboy