wok-next view nano/stuff/patches/nanorc.patch @ rev 21159

updated diffutils (3.6 -> 3.7)
author Hans-G?nter Theisgen
date Wed Feb 20 08:46:59 2019 +0100 (2019-02-20)
parents 4048d48a47c1
children
line source
1 Adjust /etc/nanorc for SliTaz.
3 --- a/doc/sample.nanorc.in
4 +++ b/doc/sample.nanorc.in
5 @@ -1,10 +1,6 @@
6 -## Sample initialization file for GNU nano.
7 +## /etc/nanorc: system-wide initialization file for nano.
8 +## ~/.nanorc: personal config file.
9 ##
10 -## Please note that you must have configured nano with --enable-nanorc
11 -## for this file to be read! Also note that this file should not be in
12 -## DOS or Mac format, and that characters specially interpreted by the
13 -## shell should not be escaped here.
14 -##
15 ## To make sure an option is disabled, use "unset <option>".
16 ##
17 ## For the options that take parameters, the default value is given.
18 @@ -59,7 +55,7 @@
19 # set fill -8
21 ## Remember the used search/replace strings for the next session.
22 -# set historylog
23 +set historylog
25 ## Display line numbers to the left of the text.
26 # set linenumbers
27 @@ -81,7 +77,7 @@
28 ## mouse clicks can be used to place the cursor, set the mark (with a
29 ## double click), and execute shortcuts. The mouse will work in the X
30 ## Window System, and on the console when gpm is running.
31 -# set mouse
32 +set mouse
34 ## Switch on multiple file buffers (inserting a file will put it into
35 ## a separate buffer).
36 @@ -163,7 +159,7 @@
37 # set suspend
39 ## Use this tab size instead of the default; it must be greater than 0.
40 -# set tabsize 8
41 +set tabsize 4
43 ## Convert typed tabs to spaces.
44 # set tabstospaces
45 @@ -270,3 +266,150 @@
47 ## Set this if your Backspace key sends Del most of the time.
48 # bind Del backspace all
49 +
50 +
51 +
52 +## Assembler
53 +# include "/usr/share/nano/asm.nanorc"
54 +
55 +## Autoconf
56 +# include "/usr/share/nano/autoconf.nanorc"
57 +
58 +## AWK
59 +# include "/usr/share/nano/awk.nanorc"
60 +
61 +## C/C++
62 +include "/usr/share/nano/c.nanorc"
63 +
64 +## Changelogs
65 +# include "/usr/share/nano/changelog.nanorc"
66 +
67 +## CMake
68 +# include "/usr/share/nano/cmake.nanorc"
69 +
70 +## CSS
71 +include "/usr/share/nano/css.nanorc"
72 +
73 +## Apt's sources.list
74 +# include "/usr/share/nano/debian.nanorc"
75 +
76 +## Default
77 +include "/usr/share/nano/default.nanorc"
78 +
79 +## Emacs Lisp
80 +# include "/usr/share/nano/elisp.nanorc"
81 +
82 +## Fortran 90/95
83 +# include "/usr/share/nano/fortran.nanorc"
84 +
85 +## Gentoo ebuilds/eclasses
86 +# include "/usr/share/nano/gentoo.nanorc"
87 +
88 +## Go
89 +# include "/usr/share/nano/go.nanorc"
90 +
91 +## Groff
92 +# include "/usr/share/nano/groff.nanorc"
93 +
94 +## Guile Scheme
95 +# include "/usr/share/nano/guile.nanorc"
96 +
97 +## HTML
98 +# include "/usr/share/nano/html.nanorc"
99 +
100 +## Java
101 +# include "/usr/share/nano/java.nanorc"
102 +
103 +## Javascript
104 +include "/usr/share/nano/javascript.nanorc"
105 +
106 +## JSON
107 +# include "/usr/share/nano/json.nanorc"
108 +
109 +## Lua
110 +# include "/usr/share/nano/lua.nanorc"
111 +
112 +## Makefiles
113 +include "/usr/share/nano/makefile.nanorc"
114 +
115 +## Manpages
116 +include "/usr/share/nano/man.nanorc"
117 +
118 +## Magicpoint presentations
119 +# include "/usr/share/nano/mgp.nanorc"
120 +
121 +## Quoted emails (under e.g. mutt)
122 +include "/usr/share/nano/mutt.nanorc"
123 +
124 +## Nanorc files
125 +include "/usr/share/nano/nanorc.nanorc"
126 +
127 +## nftables
128 +# include "/usr/share/nano/nftables.nanorc"
129 +
130 +## C/C++/Obj-C
131 +# include "/usr/share/nano/objc.nanorc"
132 +
133 +## OCaml
134 +# include "/usr/share/nano/ocaml.nanorc"
135 +
136 +## Patch files
137 +include "/usr/share/nano/patch.nanorc"
138 +
139 +## Perl
140 +# include "/usr/share/nano/perl.nanorc"
141 +
142 +## PHP
143 +include "/usr/share/nano/php.nanorc"
144 +
145 +## PO files
146 +include "/usr/share/nano/po.nanorc"
147 +
148 +## PostgreSQL
149 +# include "/usr/share/nano/postgresql.nanorc"
150 +
151 +## POV-Ray
152 +# include "/usr/share/nano/pov.nanorc"
153 +
154 +## Python
155 +include "/usr/share/nano/python.nanorc"
156 +
157 +## Ruby
158 +# include "/usr/share/nano/ruby.nanorc"
159 +
160 +## Bourne shell scripts
161 +include "/usr/share/nano/sh.nanorc"
162 +
163 +## RPM spec files
164 +# include "/usr/share/nano/spec.nanorc"
165 +
166 +## Tcl files
167 +# include "/usr/share/nano/tcl.nanorc"
168 +
169 +## TeX files
170 +# include "/usr/share/nano/tex.nanorc"
171 +
172 +## Texinfo files
173 +# include "/usr/share/nano/texinfo.nanorc"
174 +
175 +## XML files
176 +include "/usr/share/nano/xml.nanorc"
177 +
178 +
179 +## Config file - By SliTaz
180 +syntax "conf" "\.?conf$"
181 +## Keywords
182 +icolor brightgreen "="
183 +## Comments
184 +icolor cyan "^[[:space:]]*#.*$"
185 +
186 +## HTML - With modification for SliTaz.
187 +syntax "HTML" "\.html$"
188 +color brightblue start="<" end=">"
189 +color red "&[^; ]*;"
190 +color brightwhite start="<!DOCTYPE" end=">" start="<title>" end="</title>" start="<!--" end="-->"
191 +color brightcyan start="<meta" end=">" start="<link" end=">"
192 +color brightyellow "<p>|</p>|<pre>|</pre>|<li>|</li>"
193 +color yellow "<ul>|</ul>|<hr>|<hr />"
194 +color brightred "href=|name=|rel=|http-equiv=|content=|title=|type|style"
195 +color brightgreen "<h1>|</h1>|<h2>|</h2>|<h3>|</h3>|<h4>|</h4>|<h5>|</h5>|<h6>|</h6>"