diff options
Diffstat (limited to 'home/.nanorc')
-rw-r--r-- | home/.nanorc | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/home/.nanorc b/home/.nanorc new file mode 100644 index 0000000..568c39a --- /dev/null +++ b/home/.nanorc | |||
@@ -0,0 +1,30 @@ | |||
1 | # ~/.nanorc | ||
2 | |||
3 | ## Character limit | ||
4 | set fill 74 # limit line-length to 74 chars | ||
5 | set guidestripe 74 # show a guide line at 74 chars | ||
6 | |||
7 | ## Line-wrapping | ||
8 | set atblanks # wrap line at blanks | ||
9 | set softwrap # enable softwrapping lines | ||
10 | |||
11 | ## Tabs & Spaces | ||
12 | set tabstospaces # convert tabs to spaces | ||
13 | set tabsize 4 # set tab size to 4 spaces | ||
14 | set autoindent # new lines have same indentation as previous line | ||
15 | |||
16 | ## Selection | ||
17 | set zap # Backspace / Delete selected region | ||
18 | |||
19 | ## UI Settings | ||
20 | set constantshow # display useful info in bottom bar | ||
21 | set minibar # filename & info on bottom bar, remove top bar | ||
22 | set indicator # scroll bar | ||
23 | set linenumbers # line numbers | ||
24 | |||
25 | ## Keybinds | ||
26 | set smarthome # smarter Home-key behavior | ||
27 | |||
28 | |||
29 | ## Syntax highlighting | ||
30 | include "/usr/share/nano/*.nanorc" # enable syntax highlighting | ||