prompt = "Find (regex): "
}
var eventCallback func(resp string)
- if h.Buf.Settings["findontype"].(bool) {
+ if h.Buf.Settings["incsearch"].(bool) {
eventCallback = func(resp string) {
match, found, _ := h.Buf.FindNext(resp, h.Buf.Start(), h.Buf.End(), h.searchOrig, true, useRegex)
if found {
default value: `unknown`. This will be automatically overridden depending
on the file you open.
-* `findontype`: enable search-on-type in "Find" prompt (pattern input)
+* `incsearch`: enable incremental search in "Find" prompt (matching as you type).
default value: `true`
"fastdirty": false,
"fileformat": "unix",
"filetype": "unknown",
- "findontype": true,
+ "incsearch": true,
"ftoptions": true,
"ignorecase": false,
"indentchar": " ",