-
Notifications
You must be signed in to change notification settings - Fork 4
/
.nanorc
29 lines (21 loc) · 1.13 KB
/
.nanorc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Use auto-indentation
set autoindent
# Constantly display the cursor position in the status bar.
set constantshow
# Enable ~/.nano_history for saving and reading search/replace strings
set historylog
# Display line numbers to the left of the text area
set linenumbers
# Allow inserting files into their own buffers
set multibuffer
# Make the Home key smarter. When Home is pressed anywhere but at the very beginning of non-whitespace characters on a line, the cursor will jump to that beginning (either forwards or backwards). If the cursor is already at that position, it will jump to the true beginning of the line
set smarthome
# Enable soft line wrapping for easier viewing of very long lones
set softwrap
# Use a tab size of n columns. The value of n must be greater than 0. The default value is 8
set tabsize 4
# Disable mouse support, if available for your system.
# When enabled, mouse clicks can be used to place the cursor, set the mark (with a double click), and execute shortcuts.
# The mouse will work in the X Window System, and on the console when gpm is running.
# When disabled, mouse can be used to scroll and select
unset mouse