all repos — dotfiles-extra @ d8e4339a351e8556ffe76d3c79be8c8fafa9cd66

extra configs that may be extraneous and/or may be platform specific

.config/nano/nanorc

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
    #####################
    ##    My nanorc    ##
    #####################

# Note: this file works on NANO VERSION > 5.0. If you aren't using the latest
# nano, you're uncool, and you should quit being uncool and get yourself a new
# nano. I mean, seriously, it's FREE, you have no excuse!

#     Cheat Sheet (bc I'm actually vim user lol)
# For more, see (https://www.nano-editor.org/dist/latest/cheatsheet.html)
# Read in-editor help screen: Ctrl+g (open help guide)
# Save current buffer: Ctrl+S (obviously I guess, idk, I'm dumb and used to :w)
# Select text: Ctrl+^ (select, then you can copy/cut, Ctrl+^ again to unselect)
# Copy/cut selected text: Alt+^ (copy), Ctrl+K (cut)
# Paste text: Ctrl+U
# Delete text: Ctrl+Del (delete right word), Ctrl+Shift+Del (delete left word)
# Delete text (continued): Alt+Del (delete current line)
# Undo/redo: Alt+U (undo), Alt+E (redo)
# Go to top/bottom of file: Alt+\ (top of file), Alt+/ (bottom of file)
# (Un)comment line: Alt+3 (comment or uncomment current line)
# Fun Fact: Some Emacs navigation shortcuts Ctrl+P/N/F/B/E/A) actually work!
# TODO: add more hints


## Editor appearance/interface
set linenumbers
set titlecolor magenta,black
set statuscolor magenta
set keycolor magenta,black
set functioncolor magenta
set numbercolor magenta
set indicator                  # AKA "scrollbar"
set guidestripe 80             # vertical bar on right
set stripecolor black,magenta
unset emptyline
# unset whitespacedisplay  # this setting doesn't exist, which is REALLY DUMB!


## Editor behavior
set autoindent
set softwrap
set tabsize 8
#set tabstospaces  # will automatically replace TAB w/ spaces, disabled
set mouse
set nonewlines     # I usually add a '\n' anyway, nano's not my babysitter


## Syntax highlighting
include "/usr/share/nano/asm.nanorc"
include "/usr/share/nano/c.nanorc"
include "/usr/share/nano/css.nanorc"
include "/usr/share/nano/default.nanorc"
include "/usr/share/nano/elisp.nanorc"
include "/usr/share/nano/go.nanorc"
include "/usr/share/nano/guile.nanorc"
include "/usr/share/nano/html.nanorc"
include "/usr/share/nano/java.nanorc"
include "/usr/share/nano/javascript.nanorc"
include "/usr/share/nano/json.nanorc"
include "/usr/share/nano/lua.nanorc"
include "/usr/share/nano/makefile.nanorc"
include "/usr/share/nano/markdown.nanorc"
include "/usr/share/nano/nanorc.nanorc"
include "/usr/share/nano/patch.nanorc"
include "/usr/share/nano/perl.nanorc"
include "/usr/share/nano/php.nanorc"
include "/usr/share/nano/puthon.nanorc"
include "/usr/share/nano/ruby.nanorc"
include "/usr/share/nano/rust.nanorc"
include "/usr/share/nano/sh.nanorc"
include "/usr/share/nano/sql.nanorc"
include "/usr/share/nano/tex.nanorc"
include "/usr/share/nano/xml.nanorc"
include "/usr/share/nano/extra/fortran.nanorc" # MEME ALERT!!!