Consult interface for codesearch
-
Google codesearch
To use the -f
or -i
options, use --
after the search pattern.
!/0 Codesearch : import android -- -f java$ -i
You can add these lines to your init file.
(use-package consult-codesearch
:bind
(("C-c h f" . consult-codesearch-find-file)
("C-c h t" . consult-codesearch)
("C-c h I" . consult-codesearch-build-index)
:map minibuffer-local-map
("C-c h" . consult-history)
("C-c s" . embark-export)))
Key | Function |
---|---|
C-c h | consult-history |
C-c s | embark-export |