Nano Text Editor and nanorc Tips and Tricks - Comment Page: 1

Nano is easy to use and lightweight command line text editor for Linux and UNIX systems. Nano text editor can use either the default settings or improve settings with customized nanorc-file. Here are some tips that can improve the usability of Nano. Changes can be made to nanorc file, either locally or to all users or options can be used as command line options.
First is good to check Nano compiled options, with command:
nano -V
Nano should be compiled with --enable-nanorc option.
Example configuration file can be copied from /usr/share/doc/nano-[version]/nanorc.sample. If you want to add the settings to all users, then copy nanorc to the /etc/nanorc and if you want to add the...

If you back up a file using “set backup” how do you recover the previous version of it (or even open the file in nano)? I have files backed up in another directory, and need to either copy something from one into the current version, or restore the previous version totally (it’s technically my crontab file).

When I create a file in nano (Rasp Pi, Linux, python3), any file, any number of lines of code, I save it with CTRL-X,Enter,CTRL-O. When I open the file again, the very first line (It could be any source code, nothing in particular) becomes both disabled (it cannot be edited or deleted) and it “moves over” about a dozen places on the screen. Could NANORC or the NANO Config cause this? Thanks.