diff --git a/search.go b/search.go index 1b82ae4..fdcab37 100644 --- a/search.go +++ b/search.go @@ -35,6 +35,7 @@ func newOpSearch(w io.Writer, buf *RuneBuffer, history *opHistory, cfg *Config) return &opSearch{ w: w, buf: buf, + cfg: cfg, history: history, } }