plugins.flash.settings.modes.search

Options used when flash is activated through a regular search, e.g. with / or ?.

Type: null or (attribute set of anything)

Default: null

Declared by:

plugins.flash.settings.modes.search.enabled

When true, flash will be activated during regular search by default. You can always toggle when searching with require("flash").toggle()

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.flash.settings.modes.search.action

action to perform when picking a label. defaults to the jumping logic depending on the mode.

@type fun(match:Flash.Match, state:Flash.State)

Type: null or lua function string

Default: null

Plugin default: null

Declared by:

plugins.flash.settings.modes.search.config

Set config to a function to dynamically change the config.

@type fun(opts:Flash.Config)

Type: null or lua function string

Default: null

Plugin default: null

Declared by:

plugins.flash.settings.modes.search.continue

When true, flash will try to continue the last search.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.flash.settings.modes.search.labels

Labels appear next to the matches, allowing you to quickly jump to any location. Labels are guaranteed not to exist as a continuation of the search pattern.

Type: null or string or raw lua code

Default: null

Plugin default: "asdfghjklqwertyuiopzxcvbnm"

Declared by:

plugins.flash.settings.modes.search.pattern

Initial pattern to use when opening flash.

Type: null or string or raw lua code

Default: null

Plugin default: ""

Declared by: