diff options
| author | Jez Ng | 2012-09-10 16:34:13 -0400 |
|---|---|---|
| committer | Jez Ng | 2012-09-10 16:48:50 -0400 |
| commit | 4314fb7b1ff2e8e68c2a56e6e8e004ead63c53a5 (patch) | |
| tree | 9977fed464b1490010ee5eae2c9b19970079e756 /options | |
| parent | 99afbfc0018d078959e7bf36352771d9e9206338 (diff) | |
| download | vimium-4314fb7b1ff2e8e68c2a56e6e8e004ead63c53a5.tar.bz2 | |
Add option to make regex find the default. Closes #569.
Diffstat (limited to 'options')
| -rw-r--r-- | options/options.coffee | 2 | ||||
| -rw-r--r-- | options/options.html | 14 |
2 files changed, 15 insertions, 1 deletions
diff --git a/options/options.coffee b/options/options.coffee index ffa6bc44..27b08e38 100644 --- a/options/options.coffee +++ b/options/options.coffee @@ -3,7 +3,7 @@ $ = (id) -> document.getElementById id bgSettings = chrome.extension.getBackgroundPage().Settings editableFields = ["scrollStepSize", "excludedUrls", "linkHintCharacters", "userDefinedLinkHintCss", - "keyMappings", "filterLinkHints", "previousPatterns", "nextPatterns", "hideHud"] + "keyMappings", "filterLinkHints", "previousPatterns", "nextPatterns", "hideHud", "regexFindMode"] canBeEmptyFields = ["excludedUrls", "keyMappings", "userDefinedLinkHintCss"] diff --git a/options/options.html b/options/options.html index 089de394..d7851c75 100644 --- a/options/options.html +++ b/options/options.html @@ -272,6 +272,20 @@ unmapAll </td> </tr> <tr class="advancedOption"> + <td class="caption"></td> + <td verticalAlign="top" class="booleanOption"> + <div class="help"> + <div class="example"> + Switch back to plain find mode by using the <code>\R</code> escape sequence. + </div> + </div> + <label> + <input id="regexFindMode" type="checkbox"/> + Treat find queries as regular expressions. + </label> + </td> + </tr> + <tr class="advancedOption"> <td class="caption">Previous Patterns</td> <td verticalAlign="top"> <div class="help"> |
