|
|
|
@ -216,17 +216,17 @@ set keycolor cyan
|
|
|
|
|
set functioncolor green |
|
|
|
|
|
|
|
|
|
## In root's .nanorc you might want to use: |
|
|
|
|
set titlecolor bold,white,magenta |
|
|
|
|
set promptcolor black,yellow |
|
|
|
|
set statuscolor bold,white,magenta |
|
|
|
|
set errorcolor bold,white,red |
|
|
|
|
set spotlightcolor black,orange |
|
|
|
|
set selectedcolor lightwhite,cyan |
|
|
|
|
set stripecolor ,yellow |
|
|
|
|
set scrollercolor magenta |
|
|
|
|
set numbercolor magenta |
|
|
|
|
set keycolor lightmagenta |
|
|
|
|
set functioncolor magenta |
|
|
|
|
# set titlecolor bold,white,magenta |
|
|
|
|
# set promptcolor black,yellow |
|
|
|
|
# set statuscolor bold,white,magenta |
|
|
|
|
# set errorcolor bold,white,red |
|
|
|
|
# set spotlightcolor black,orange |
|
|
|
|
# set selectedcolor lightwhite,cyan |
|
|
|
|
# set stripecolor ,yellow |
|
|
|
|
# set scrollercolor magenta |
|
|
|
|
# set numbercolor magenta |
|
|
|
|
# set keycolor lightmagenta |
|
|
|
|
# set functioncolor magenta |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## === Syntax coloring === |
|
|
|
@ -281,8 +281,10 @@ include "/usr/share/nano/*.nanorc"
|
|
|
|
|
## For quickly uppercasing or lowercasing the word under the cursor. |
|
|
|
|
## (These effectively do a Ctrl+Right followed by a Shift+Ctrl+Left, |
|
|
|
|
## and then pipe the selected text through a sed command.) |
|
|
|
|
# bind Sh-M-U "Oc[1;6D|sed 's/.*/\U&/'
" main |
|
|
|
|
# bind Sh-M-L "Oc[1;6D|sed 's/.*/\L&/'
" main |
|
|
|
|
# bind Sh-M-U "Oc[1;6D|sed 's/.*/\U&/' |
|
|
|
|
" main |
|
|
|
|
# bind Sh-M-L "Oc[1;6D|sed 's/.*/\L&/' |
|
|
|
|
" main |
|
|
|
|
|
|
|
|
|
## If you would like nano to have keybindings that are more "usual", |
|
|
|
|
## such as ^O for Open, ^F for Find, ^H for Help, and ^Q for Quit, |