From abc22e5ab48f469a7858daba15decdf83f131ce0 Mon Sep 17 00:00:00 2001 From: Tristan Williams Date: Mon, 14 Oct 2024 17:14:37 -0400 Subject: Add .nanorc --- home/.nanorc | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 home/.nanorc (limited to 'home/.nanorc') diff --git a/home/.nanorc b/home/.nanorc new file mode 100644 index 0000000..c0bcff4 --- /dev/null +++ b/home/.nanorc @@ -0,0 +1,31 @@ +# FILE : dotfiles.core/home/.nanorc +# TARGET: ~/.nanorc +# AUTHOR: tgwil +# +# This is my nano configuration. +# It simply sets some sane behavior and shows and guidestripe so I +# remember to keep lines 72 chars or less when possible. + +# Character Limit +set guidestripe 73 # char limit indicator + +# Line Wrapping +set atblanks # wrap line at blanks +set softwrap # softwrap lines + +# Tabs & Spaces +set tabstospaces # convert TAB to SPACEs +set tabsize 4 # tab size = 4 +set autoindent # newlines have same indentation as above + +# Selection +set zap # BACKSPACE/DELETE selected region + +# UI +set constantshow # show useful info at the bottom +set minibar # filename & info in bottom bar, remove top bar +set indicator # scrollbar +set linenumbers # line numbers + +# Keybinds +set smarthome # smarter HOME behavior -- cgit v1.2.3