Skip to content

Instantly share code, notes, and snippets.

@shadowimmage
Last active March 21, 2020 04:55
Show Gist options
  • Save shadowimmage/fed93fa18dafc8ad6ffda69a9c530a74 to your computer and use it in GitHub Desktop.
Save shadowimmage/fed93fa18dafc8ad6ffda69a9c530a74 to your computer and use it in GitHub Desktop.
nanorc confg - settings to make nano editor (linux/bash) use a tabstop of 4 spaces, and insert spaces insetead of a tab character.
set tabsize 4
set tabstospaces
set linenumbers
set smarthome
set numbercolor white,blue
## Include syntax highlighters from ~/.nano/ (git repo from https://github.com/serialhex/nano-highlight)
## spifftastic nano highlighting nano
include "~/.nano/nanorc.nanorc"
## apache2
include "~/.nano/apache2.nanorc"
## Python
include "~/.nano/python.nanorc"
## CSS
include "~/.nano/css.nanorc"
## HTML
include "~/.nano/html.nanorc"
## Markdown
include "~/.nano/markdown.nanorc"
## Yaml
include "~/.nano/yaml.nanorc"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment