A pretty basic Helm question. What is the Helm window/command/feature that lets us search for text (preferably using regexp
) within any type of buffer (i.e., including read-only such as w3m
)?
In other words, I'm looking for Helm's equivalent of Emacs' native commands for isearch-forward
(C-s
) / isearch-backward
(C-r
).
To illustrate: after invoking one of the native isearch
commands (C-s
or C-r
), we can exit search mode in one of two ways:
we can exit and return to original point (via
C-g
), orwe can exit and continue browsing buffer from current point i.e., from the currently-matched text (via
RET
among others).
I'm looking for the second of these two options.
Here's what I've tried so far:
helm-regexp
: this is the closest thing to what I'm looking for but it only performs the equivalent ofC-s
/C-r
+C-g
(i.e., it takes us back to the original point; no option for terminating the search and continuing to browse the buffer from the currently matched point).helm-do-grep
: it seems like this is only for searching for text within files (i.e., doesn't work on w3m)helm-buffer-run-grep
/-zgrep
: running this command/function results in an error message in the mini-buffer:Running helm command outside of context
when
helm-mode
is enabled, invokingC-s
orC-r
brings up Emacs' nativeisearch
feature (it isn't replaced by Helm's interface). (maybe there's a setting we can change so Helm can take over this command? i.e., similar to how Helm takes over the native command forwrite-file
(C-x C-w
) which can be used to rename a file in an open buffer. just brainstorming.)
helm-occur
withfollow-mode
enabled.