wok diff nano/stuff/patches/etc_nanorc-6.2 @ rev 25040

cups-filters: use standard c++14
author Hans-G?nter Theisgen
date Fri May 27 07:47:27 2022 +0100 (2022-05-27)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/nano/stuff/patches/etc_nanorc-6.2	Fri May 27 07:47:27 2022 +0100
     1.3 @@ -0,0 +1,191 @@
     1.4 +--- etc/nanorc.original
     1.5 ++++ etc/nanorc
     1.6 +@@ -1,5 +1,8 @@
     1.7 + ## Sample initialization file for GNU nano.
     1.8 + ##
     1.9 ++## /etc/nanorc: system-wide initialization file for nano.
    1.10 ++## ~/.nanorc:   personal config file.
    1.11 ++
    1.12 + ## For the options that take parameters, the default value is shown.
    1.13 + ## Other options are unset by default.  To make sure that an option
    1.14 + ## is disabled, you can use "unset <option>".
    1.15 +@@ -63,7 +66,7 @@
    1.16 + # set guidestripe 75
    1.17 + 
    1.18 + ## Remember the used search/replace strings for the next session.
    1.19 +-# set historylog
    1.20 ++set historylog
    1.21 + 
    1.22 + ## Display a "scrollbar" on the righthand side of the edit window.
    1.23 + # set indicator
    1.24 +@@ -95,7 +98,7 @@
    1.25 + ## mouse clicks can be used to place the cursor, set the mark (with a
    1.26 + ## double click), and execute shortcuts.  The mouse will work in the
    1.27 + ## X Window System, and on the console when gpm is running.
    1.28 +-# set mouse
    1.29 ++set mouse
    1.30 + 
    1.31 + ## Switch on multiple file buffers (inserting a file will put it into
    1.32 + ## a separate buffer).
    1.33 +@@ -172,7 +175,7 @@
    1.34 + # set stateflags
    1.35 + 
    1.36 + ## Use this tab size instead of the default; it must be greater than 0.
    1.37 +-# set tabsize 8
    1.38 ++set tabsize 4
    1.39 + 
    1.40 + ## Convert each typed tab to the fitting number of spaces.
    1.41 + # set tabstospaces
    1.42 +@@ -243,9 +246,150 @@
    1.43 + # include "/usr/share/nano/*.nanorc"
    1.44 + 
    1.45 + ## Or you can select just the ones you need.  For example:
    1.46 ++## Assembler
    1.47 ++# include "/usr/share/nano/asm.nanorc"
    1.48 ++
    1.49 ++## Autoconf
    1.50 ++# include "/usr/share/nano/autoconf.nanorc"
    1.51 ++
    1.52 ++## AWK
    1.53 ++# include "/usr/share/nano/awk.nanorc"
    1.54 ++
    1.55 ++## C/C++
    1.56 ++include "/usr/share/nano/c.nanorc"
    1.57 ++
    1.58 ++## Changelogs
    1.59 ++# include "/usr/share/nano/changelog.nanorc"
    1.60 ++
    1.61 ++## CMake
    1.62 ++# include "/usr/share/nano/cmake.nanorc"
    1.63 ++
    1.64 ++## CSS
    1.65 ++include "/usr/share/nano/css.nanorc"
    1.66 ++
    1.67 ++## Apt's sources.list
    1.68 ++# include "/usr/share/nano/debian.nanorc"
    1.69 ++
    1.70 ++## Default
    1.71 ++include "/usr/share/nano/default.nanorc"
    1.72 ++
    1.73 ++## Emacs Lisp
    1.74 ++# include "/usr/share/nano/elisp.nanorc"
    1.75 ++
    1.76 ++## Fortran 90/95
    1.77 ++# include "/usr/share/nano/fortran.nanorc"
    1.78 ++
    1.79 ++## Gentoo ebuilds/eclasses
    1.80 ++# include "/usr/share/nano/gentoo.nanorc"
    1.81 ++
    1.82 ++## Go
    1.83 ++# include "/usr/share/nano/go.nanorc"
    1.84 ++
    1.85 ++## Groff
    1.86 ++# include "/usr/share/nano/groff.nanorc"
    1.87 ++
    1.88 ++## Guile Scheme
    1.89 ++# include "/usr/share/nano/guile.nanorc"
    1.90 ++
    1.91 ++## HTML
    1.92 + # include "/usr/share/nano/html.nanorc"
    1.93 +-# include "/usr/share/nano/python.nanorc"
    1.94 +-# include "/usr/share/nano/sh.nanorc"
    1.95 ++
    1.96 ++## Java
    1.97 ++# include "/usr/share/nano/java.nanorc"
    1.98 ++
    1.99 ++## Javascript
   1.100 ++include "/usr/share/nano/javascript.nanorc"
   1.101 ++
   1.102 ++## JSON
   1.103 ++# include "/usr/share/nano/json.nanorc"
   1.104 ++
   1.105 ++## Lua
   1.106 ++# include "/usr/share/nano/lua.nanorc"
   1.107 ++
   1.108 ++## Makefiles
   1.109 ++include "/usr/share/nano/makefile.nanorc"
   1.110 ++
   1.111 ++## Manpages
   1.112 ++include "/usr/share/nano/man.nanorc"
   1.113 ++
   1.114 ++## Magicpoint presentations
   1.115 ++# include "/usr/share/nano/mgp.nanorc"
   1.116 ++
   1.117 ++## Quoted emails (under e.g. mutt)
   1.118 ++include "/usr/share/nano/mutt.nanorc"
   1.119 ++
   1.120 ++## Nanorc files
   1.121 ++include "/usr/share/nano/nanorc.nanorc"
   1.122 ++
   1.123 ++## nftables
   1.124 ++# include "/usr/share/nano/nftables.nanorc"
   1.125 ++
   1.126 ++## C/C++/Obj-C
   1.127 ++# include "/usr/share/nano/objc.nanorc"
   1.128 ++
   1.129 ++## OCaml
   1.130 ++# include "/usr/share/nano/ocaml.nanorc"
   1.131 ++
   1.132 ++## Patch files
   1.133 ++include "/usr/share/nano/patch.nanorc"
   1.134 ++
   1.135 ++## Perl
   1.136 ++# include "/usr/share/nano/perl.nanorc"
   1.137 ++
   1.138 ++## PHP
   1.139 ++include "/usr/share/nano/php.nanorc"
   1.140 ++
   1.141 ++## PO files
   1.142 ++include "/usr/share/nano/po.nanorc"
   1.143 ++
   1.144 ++## PostgreSQL
   1.145 ++# include "/usr/share/nano/postgresql.nanorc"
   1.146 ++
   1.147 ++## POV-Ray
   1.148 ++# include "/usr/share/nano/pov.nanorc"
   1.149 ++
   1.150 ++## Python
   1.151 ++include "/usr/share/nano/python.nanorc"
   1.152 ++
   1.153 ++## Ruby
   1.154 ++# include "/usr/share/nano/ruby.nanorc"
   1.155 ++
   1.156 ++## Bourne shell scripts
   1.157 ++include "/usr/share/nano/sh.nanorc"
   1.158 ++
   1.159 ++## RPM spec files
   1.160 ++# include "/usr/share/nano/spec.nanorc"
   1.161 ++
   1.162 ++## Tcl files
   1.163 ++# include "/usr/share/nano/tcl.nanorc"
   1.164 ++
   1.165 ++## TeX files
   1.166 ++# include "/usr/share/nano/tex.nanorc"
   1.167 ++
   1.168 ++## Texinfo files
   1.169 ++# include "/usr/share/nano/texinfo.nanorc"
   1.170 ++
   1.171 ++## XML files
   1.172 ++include "/usr/share/nano/xml.nanorc"
   1.173 ++
   1.174 ++
   1.175 ++## Config file - By SliTaz
   1.176 ++syntax "conf" "\.?conf$"
   1.177 ++## Keywords
   1.178 ++icolor brightgreen "="
   1.179 ++## Comments
   1.180 ++icolor cyan "^[[:space:]]*#.*$"
   1.181 ++
   1.182 ++## HTML - With modification for SliTaz.
   1.183 ++syntax "HTML" "\.html$"
   1.184 ++color brightblue start="<" end=">"
   1.185 ++color red "&[^; 	]*;"
   1.186 ++color brightwhite start="<!DOCTYPE" end=">" start="<title>" end="</title>" start="<!--" end="-->"
   1.187 ++color brightcyan start="<meta" end=">" start="<link" end=">"
   1.188 ++color brightyellow "<p>|</p>|<pre>|</pre>|<li>|</li>"
   1.189 ++color yellow "<ul>|</ul>|<hr>|<hr />"
   1.190 ++color brightred "href=|name=|rel=|http-equiv=|content=|title=|type|style"
   1.191 ++color brightgreen "<h1>|</h1>|<h2>|</h2>|<h3>|</h3>|<h4>|</h4>|<h5>|</h5>|<h6>|</h6>"
   1.192 + 
   1.193 + ## In /usr/share/nano/extra/ you can find some syntaxes that are
   1.194 + ## specific for certain distros or for some less common languages.