Chris Allegretta | 43fee64 | 2001-05-26 04:18:54 +0000 | [diff] [blame] | 1 | # Sample initialization file for GNU nano |
| 2 | # Please note that you must have configured nano with |
| 3 | # --enable-nanorc for this file to be read! |
| 4 | |
| 5 | # Use regular expressions by default |
| 6 | # set regexp |
| 7 | |
| 8 | # Constantly update the cursor position |
| 9 | # set const |
| 10 | |
| 11 | # Use cut to end of line with ^K by default |
| 12 | # set cut |
| 13 | |
| 14 | # Use Auto-indentation |
| 15 | # set autoindent |
| 16 | |
| 17 | # Don't follow symlinks when writing files |
| 18 | # set nofollow |
| 19 | |
Chris Allegretta | 4839d23 | 2001-07-19 22:03:51 +0000 | [diff] [blame] | 20 | # Use Pico Compatibility mode for the shortcut lists and search text |
Chris Allegretta | 43fee64 | 2001-05-26 04:18:54 +0000 | [diff] [blame] | 21 | # set pico |
| 22 | |
| 23 | # Use this value instead of the default |
| 24 | # set fill -8 |
| 25 | |
| 26 | # Use this spelling checker instead of the default one |
| 27 | # set speller aspell |
| 28 | |
| 29 | # Save automatically on exit, don't prompt |
| 30 | # set tempfile |
| 31 | |
| 32 | # Disallow file modification, why would you want this in an rc file? ;) |
| 33 | # set view |
| 34 | |
| 35 | # Don't wrap text at all |
| 36 | # set nowrap |
| 37 | |
| 38 | # Don't display the help lists at the bottom of the screen |
| 39 | # set nohelp |
| 40 | |
Chris Allegretta | 4839d23 | 2001-07-19 22:03:51 +0000 | [diff] [blame] | 41 | # Allow nano to be suspended with ^Z |
Chris Allegretta | 43fee64 | 2001-05-26 04:18:54 +0000 | [diff] [blame] | 42 | # set suspend |
| 43 | |
Chris Allegretta | 4839d23 | 2001-07-19 22:03:51 +0000 | [diff] [blame] | 44 | # Allow multiple file buffers (using ^R inserts into separate buffer) |
Chris Allegretta | 355fbe5 | 2001-07-14 19:32:47 +0000 | [diff] [blame] | 45 | # You must have configured with --enable-multibuffer or --enable-extra for |
| 46 | # this to work |
| 47 | # |
| 48 | # set multibuffer |