aboutsummaryrefslogtreecommitdiff
path: root/home/.nanorc
diff options
context:
space:
mode:
authorMountain Man <43313373+MountainMan1312@users.noreply.github.com>2023-03-31 01:50:42 -0400
committerMountain Man <43313373+MountainMan1312@users.noreply.github.com>2023-03-31 01:50:42 -0400
commitdea4c28f9ccdd1949b269d0461561bef58b20ec8 (patch)
treed06fcdb2c7067382d7d8988cb9fd6dfc3e47c1d9 /home/.nanorc
parentCreate alias for 'ls' in 'home/.bashrc' (diff)
downloaddotfiles.old-dea4c28f9ccdd1949b269d0461561bef58b20ec8.tar.gz
dotfiles.old-dea4c28f9ccdd1949b269d0461561bef58b20ec8.tar.bz2
dotfiles.old-dea4c28f9ccdd1949b269d0461561bef58b20ec8.zip
Create 'nano' config file 'home/.nanorc'
This configuration for 'nano' makes it more convenient to use for writing commit messages, which is just about the only thing I use it for anymore.
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