aboutsummaryrefslogtreecommitdiff
path: root/home/.nanorc
diff options
context:
space:
mode:
Diffstat (limited to 'home/.nanorc')
-rw-r--r--home/.nanorc30
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
4set fill 74 # limit line-length to 74 chars
5set guidestripe 74 # show a guide line at 74 chars
6
7## Line-wrapping
8set atblanks # wrap line at blanks
9set softwrap # enable softwrapping lines
10
11## Tabs & Spaces
12set tabstospaces # convert tabs to spaces
13set tabsize 4 # set tab size to 4 spaces
14set autoindent # new lines have same indentation as previous line
15
16## Selection
17set zap # Backspace / Delete selected region
18
19## UI Settings
20set constantshow # display useful info in bottom bar
21set minibar # filename & info on bottom bar, remove top bar
22set indicator # scroll bar
23set linenumbers # line numbers
24
25## Keybinds
26set smarthome # smarter Home-key behavior
27
28
29## Syntax highlighting
30include "/usr/share/nano/*.nanorc" # enable syntax highlighting