helm interface for codesearch
- find pattern
- find file
It's available on Melpa:
M-x package-install helm-codesearch
-
Google codesearch
You can add these lines to your init file.
(define-key global-map (kbd "C-c h f") 'helm-codesearch-find-file)
(define-key global-map (kbd "C-c h t") 'helm-codesearch-find-pattern)
(define-key global-map (kbd "C-c h I") 'helm-codesearch-create-csearchindex)
If you want to search for multiple projects, you need to set the csearchindex.
(setq helm-codesearch-global-csearchindex "~/.csearchindex")
Overwrite search result buffer without asking confirmation.
(setq helm-codesearch-overwrite-search-result t)
Key | Function |
---|---|
C-c f | helm-codesearch-run-set-filename |
C-c h | helm-minibuffer-history |
C-c i | helm-codesearch-run-ignore-case |
C-c s | helm-codesearch-run-save-buffer |
helm-codesearch now supports saving search results to a new buffer.
Key | Function |
---|---|
RET | helm-codesearch-jump-to-source |
n | helm-codesearch-next-line |
p | helm-codesearch-previous-line |
q | helm-codesearch-quit-window |
Copyright (C) 2019 Youngjoo Lee
Author: Youngjoo Lee youngker@gmail.com
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.