Create config.search.* group with ignore_case and incremental
This commit is contained in:
parent
bb2fcddcd4
commit
4eebd2a85d
@ -1770,7 +1770,7 @@ class CommandDispatcher:
|
||||
return
|
||||
|
||||
options = {
|
||||
'ignore_case': config.val.ignore_case,
|
||||
'ignore_case': config.val.search.ignore_case,
|
||||
'reverse': reverse,
|
||||
}
|
||||
|
||||
|
@ -33,7 +33,7 @@ history_gap_interval:
|
||||
Items with less time between them are grouped when being displayed in
|
||||
`:history`. Use -1 to disable separation.
|
||||
|
||||
ignore_case:
|
||||
search.ignore_case:
|
||||
type:
|
||||
name: String
|
||||
valid_values:
|
||||
@ -43,10 +43,10 @@ ignore_case:
|
||||
default: smart
|
||||
desc: When to find text on a page case-insensitively.
|
||||
|
||||
incremental_search:
|
||||
search.incremental:
|
||||
type: Bool
|
||||
default: True
|
||||
desc: Find text on a page incrementally, renewing the search for each typing character.
|
||||
desc: Find text on a page incrementally, renewing the search for each typed character.
|
||||
|
||||
new_instance_open_target:
|
||||
type:
|
||||
|
@ -243,7 +243,7 @@ class Command(misc.MinimalLineEditMixin, misc.CommandLineEdit):
|
||||
|
||||
@pyqtSlot(str)
|
||||
def _incremental_search(self, text):
|
||||
if config.val.incremental_search:
|
||||
if config.val.search.incremental:
|
||||
search_prefixes = {
|
||||
'/': 'search -- ',
|
||||
'?': 'search -r -- ',
|
||||
|
Loading…
Reference in New Issue
Block a user