0001-nanorc-default-settings-changes.patch 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. From ffb42bb0d87586adac14144b98333eb52808ce99 Mon Sep 17 00:00:00 2001
  2. From: Mehmet Emre Atasever <memre@pardus.org.tr>
  3. Date: Sun, 26 Jun 2011 18:39:04 +0300
  4. Subject: [PATCH] nanorc default settings changes
  5. Some default settings are not so convenient for Pisi Linux nano users.
  6. also fixes bugs (#pb18483, #pb18484)
  7. ---
  8. doc/nanorc.sample.in | 64 +++++++++++++++++++++++++-------------------------
  9. 1 files changed, 32 insertions(+), 32 deletions(-)
  10. diff --git a/doc/nanorc.sample.in b/doc/nanorc.sample.in
  11. index f164c26..24d3c7b 100644
  12. --- a/doc/nanorc.sample.in
  13. +++ b/doc/nanorc.sample.in
  14. @@ -25,17 +25,17 @@
  15. # set backupdir ""
  16. ## Do backwards searches by default.
  17. -# set backwards
  18. +set backwards
  19. ## Use bold text instead of reverse video text.
  20. -# set boldtext
  21. +set boldtext
  22. ## The characters treated as closing brackets when justifying
  23. ## paragraphs. They cannot contain blank characters. Only closing
  24. ## punctuation, optionally followed by closing brackets, can end
  25. ## sentences.
  26. ##
  27. -# set brackets ""')>]}"
  28. +set brackets ""')>]}"
  29. ## Do case sensitive searches by default.
  30. # set casesensitive
  31. @@ -60,7 +60,7 @@
  32. ## searches. They cannot contain blank characters. The former set must
  33. ## come before the latter set, and both must be in the same order.
  34. ##
  35. -# set matchbrackets "(<[{)>]}"
  36. +set matchbrackets "(<[{)>]}"
  37. ## Use the blank line below the titlebar as extra editing space.
  38. # set morespace
  39. @@ -139,7 +139,7 @@
  40. # set smarthome
  41. ## Use smooth scrolling as the default.
  42. -# set smooth
  43. +set smooth
  44. ## Enable soft line wrapping (AKA full line display).
  45. # set softwrap
  46. @@ -153,7 +153,7 @@
  47. # set suspend
  48. ## Use this tab size instead of the default; it must be greater than 0.
  49. -# set tabsize 8
  50. +set tabsize 4
  51. ## Convert typed tabs to spaces.
  52. # set tabstospaces
  53. @@ -234,79 +234,79 @@
  54. ## Nanorc files
  55. -# include "@PKGDATADIR@/nanorc.nanorc"
  56. +include "@PKGDATADIR@/nanorc.nanorc"
  57. ## C/C++
  58. -# include "@PKGDATADIR@/c.nanorc"
  59. +include "@PKGDATADIR@/c.nanorc"
  60. ## Makefiles
  61. -# include "@PKGDATADIR@/makefile.nanorc"
  62. +include "@PKGDATADIR@/makefile.nanorc"
  63. ## Cascading Style Sheets
  64. -# include "@PKGDATADIR@/css.nanorc"
  65. +include "@PKGDATADIR@/css.nanorc"
  66. ## Debian files
  67. -# include "@PKGDATADIR@/debian.nanorc"
  68. +include "@PKGDATADIR@/debian.nanorc"
  69. ## Gentoo files
  70. -# include "@PKGDATADIR@/gentoo.nanorc"
  71. +include "@PKGDATADIR@/gentoo.nanorc"
  72. ## HTML
  73. -# include "@PKGDATADIR@/html.nanorc"
  74. +include "@PKGDATADIR@/html.nanorc"
  75. ## PHP
  76. -# include "@PKGDATADIR@/php.nanorc"
  77. +include "@PKGDATADIR@/php.nanorc"
  78. ## TCL
  79. -# include "@PKGDATADIR@/tcl.nanorc"
  80. +include "@PKGDATADIR@/tcl.nanorc"
  81. ## TeX
  82. -# include "@PKGDATADIR@/tex.nanorc"
  83. +include "@PKGDATADIR@/tex.nanorc"
  84. ## Quoted emails (under e.g. mutt)
  85. -# include "@PKGDATADIR@/mutt.nanorc"
  86. +include "@PKGDATADIR@/mutt.nanorc"
  87. ## Patch files
  88. -# include "@PKGDATADIR@/patch.nanorc"
  89. +include "@PKGDATADIR@/patch.nanorc"
  90. ## Manpages
  91. -# include "@PKGDATADIR@/man.nanorc"
  92. +include "@PKGDATADIR@/man.nanorc"
  93. ## Groff
  94. -# include "@PKGDATADIR@/groff.nanorc"
  95. +include "@PKGDATADIR@/groff.nanorc"
  96. ## Perl
  97. -# include "@PKGDATADIR@/perl.nanorc"
  98. +include "@PKGDATADIR@/perl.nanorc"
  99. ## Python
  100. -# include "@PKGDATADIR@/python.nanorc"
  101. +include "@PKGDATADIR@/python.nanorc"
  102. ## Ruby
  103. -# include "@PKGDATADIR@/ruby.nanorc"
  104. +include "@PKGDATADIR@/ruby.nanorc"
  105. ## Java
  106. -# include "@PKGDATADIR@/java.nanorc"
  107. +include "@PKGDATADIR@/java.nanorc"
  108. ## Fortran
  109. -# include "@PKGDATADIR@/fortran.nanorc"
  110. +include "@PKGDATADIR@/fortran.nanorc"
  111. ## Objective-C
  112. -# include "@PKGDATADIR@/objc.nanorc"
  113. +include "@PKGDATADIR@/objc.nanorc"
  114. ## OCaml
  115. -# include "@PKGDATADIR@/ocaml.nanorc"
  116. +include "@PKGDATADIR@/ocaml.nanorc"
  117. ## AWK
  118. -# include "@PKGDATADIR@/awk.nanorc"
  119. +include "@PKGDATADIR@/awk.nanorc"
  120. ## Assembler
  121. -# include "@PKGDATADIR@/asm.nanorc"
  122. +include "@PKGDATADIR@/asm.nanorc"
  123. ## Bourne shell scripts
  124. -# include "@PKGDATADIR@/sh.nanorc"
  125. +include "@PKGDATADIR@/sh.nanorc"
  126. ## POV-Ray
  127. -# include "@PKGDATADIR@/pov.nanorc"
  128. +include "@PKGDATADIR@/pov.nanorc"
  129. ## XML-type files
  130. -# include "@PKGDATADIR@/xml.nanorc"
  131. +include "@PKGDATADIR@/xml.nanorc"
  132. --
  133. 1.7.5.4