diff options
author | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-03-31 01:50:42 -0400 |
---|---|---|
committer | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-03-31 01:50:42 -0400 |
commit | dea4c28f9ccdd1949b269d0461561bef58b20ec8 (patch) | |
tree | d06fcdb2c7067382d7d8988cb9fd6dfc3e47c1d9 | |
parent | Create alias for 'ls' in 'home/.bashrc' (diff) | |
download | dotfiles.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.
-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 | ||