Editing the ~/.nanorc file will enable changes to your nano when you open it.
Stateflags: I when auto-indenting, M when the mark is on, L when hard-wrapping (breaking long lines), R when recording a macro, and S when soft-wrapping
Valid names for the foreground and background colours are: red, green, blue, magenta, yellow, cyan, white, and black. Each of these eight names may be prefixed with the word light to get a brighter version of that colour. The word grey or gray may be used as a synonym for lightblack. On a Linux console, light does not have any effect for a background colour. On terminal emulators that can do at least 256 colours, other valid (but unprefixable) colour names are: pink, purple, mauve, lagoon, mint, lime, peach, orange, latte, rosy, beet, plum, sea, sky, slate, teal, sage, brown, ocher, sand, tawny, brick, crimson, and normal -- where normal means the default foreground or background colour. On such emulators, the colour may also be specified as a three-digit hexadecimal number prefixed with #, with the digits representing the amounts of red, green, and blue, respectively. This tells nano to select from the available palette the colour that approximates the given values. |
Created By
Metadata
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets