From dea4c28f9ccdd1949b269d0461561bef58b20ec8 Mon Sep 17 00:00:00 2001 From: Mountain Man <43313373+MountainMan1312@users.noreply.github.com> Date: Fri, 31 Mar 2023 01:50:42 -0400 Subject: 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. --- home/.nanorc | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 home/.nanorc (limited to 'home') diff --git a/home/.nanorc b/home/.nanorc new file mode 100644 index 0000000..568c39a --- /dev/null +++ b/home/.nanorc @@ -0,0 +1,30 @@ +# ~/.nanorc + +## Character limit +set fill 74 # limit line-length to 74 chars +set guidestripe 74 # show a guide line at 74 chars + +## Line-wrapping +set atblanks # wrap line at blanks +set softwrap # enable softwrapping lines + +## Tabs & Spaces +set tabstospaces # convert tabs to spaces +set tabsize 4 # set tab size to 4 spaces +set autoindent # new lines have same indentation as previous line + +## Selection +set zap # Backspace / Delete selected region + +## UI Settings +set constantshow # display useful info in bottom bar +set minibar # filename & info on bottom bar, remove top bar +set indicator # scroll bar +set linenumbers # line numbers + +## Keybinds +set smarthome # smarter Home-key behavior + + +## Syntax highlighting +include "/usr/share/nano/*.nanorc" # enable syntax highlighting -- cgit v1.2.3