nanorc.sample 1.19 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Sample initialization file for GNU nano
# Please note that you must have configured nano with 
# --enable-nanorc for this file to be read!

# Use regular expressions by default 
# set regexp 

# Constantly update the cursor position
# set const

# Use cut to end of line with ^K by default
# set cut

# Use Auto-indentation
# set autoindent

# Don't follow symlinks when writing files
# set nofollow

20
21
22
# Set operating directory (chroot of sorts)
# set operatingdir "~"

Chris Allegretta's avatar
Chris Allegretta committed
23
# Use Pico Compatibility mode for the shortcut lists and search text
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# set pico

# Use this value instead of the default
# set fill -8

# Use this spelling checker instead of the default one
# set speller aspell

# Save automatically on exit, don't prompt
# set tempfile

# Disallow file modification, why would you want this in an rc file? ;)
# set view

# Don't wrap text at all
# set nowrap

# Don't display the help lists at the bottom of the screen
# set nohelp

Chris Allegretta's avatar
Chris Allegretta committed
44
# Allow nano to be suspended with ^Z
45
46
# set suspend

47
48
49
# Use smooth scrolling as the default
# set smooth

Chris Allegretta's avatar
Chris Allegretta committed
50
# Allow multiple file buffers (using ^R inserts into separate buffer)
51
52
53
54
# You must have configured with --enable-multibuffer or --enable-extra for
# this to work
#
# set multibuffer