about summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-02-22 21:36:46 +0100
committerbptato <nincsnevem662@gmail.com>2024-02-22 22:23:17 +0100
commitb2da391458bca7b7f38fc9f03925d704841165c8 (patch)
treeb64fa5fccc6902e9e5059594738539464f48e649 /doc
parent78ffc938fa7e4baad0a55625026b765d215be1aa (diff)
downloadchawan-b2da391458bca7b7f38fc9f03925d704841165c8.tar.gz
config: replace default-flags with ignore-case
default-flags was overly complicated for its purpose.

Also, ignore-case is quite useful, so enable it by default.
Diffstat (limited to 'doc')
-rw-r--r--doc/config.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/config.md b/doc/config.md
index 4675d29b..7e43300c 100644
--- a/doc/config.md
+++ b/doc/config.md
@@ -111,13 +111,13 @@ Following is a list of search options:
 </tr>
 
 <tr>
-<td>default-flags</td>
-<td>Array of JS regex flags</td>
-<td>Theoretically, you could use any JS regex flag. Practically, the only values
-that work/make sense right now are either `[]` (the default; an empty array) or
-`["i"]` (an array with the string "i").<br>
-Note: this can also be overridden inline in the search bar (vim-style), with the
-escape sequences `\c` (ignore case) and `\C` (strict case).</td>
+<td>ignore-case</td>
+<td>boolean</td>
+<td>When set to true, document-wide searches are case-insensitive by
+default.<br>
+Note: this can also be overridden inline in the search bar (vim-style),
+with the escape sequences `\c` (ignore case) and `\C` (strict case). See
+[search mode](#search-mode) for details.)</td>
 </tr>
 
 </table>