aboutsummaryrefslogtreecommitdiff
path: root/home/.nanorc
blob: c0bcff4458e7cbeb9818597b1233d267b03895be (plain) (blame)
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
30
31
# FILE  : dotfiles.core/home/.nanorc
# TARGET: ~/.nanorc
# AUTHOR: tgwil
#
# This is my nano configuration.
# It simply sets some sane behavior and shows and guidestripe so I
# remember to keep lines 72 chars or less when possible.

# Character Limit
set guidestripe 73  # char limit indicator

# Line Wrapping
set atblanks        # wrap line at blanks
set softwrap        # softwrap lines

# Tabs & Spaces
set tabstospaces    # convert TAB to SPACEs
set tabsize 4       # tab size = 4
set autoindent      # newlines have same indentation as above

# Selection
set zap             # BACKSPACE/DELETE selected region

# UI
set constantshow    # show useful info at the bottom
set minibar         # filename & info in bottom bar, remove top bar
set indicator       # scrollbar
set linenumbers     # line numbers

# Keybinds
set smarthome       # smarter HOME behavior