Skip to content

Commit

Permalink
* helm-files.el: Bind C-s to grep in helm-find-files-map.
Browse files Browse the repository at this point in the history
  • Loading branch information
thierryvolpiatto committed Jul 28, 2012
1 parent 5af83b8 commit cec8359
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions helm-buffers.el
Expand Up @@ -81,6 +81,7 @@ filtered from the list of candidates if the
;; as we don't use recursivity for buffers.
;; So use zgrep for both as it is capable to handle non--compressed files.
(define-key map (kbd "M-g s") 'helm-buffer-run-zgrep)
(define-key map (kbd "C-s") 'helm-buffer-run-zgrep)
(define-key map (kbd "C-c o") 'helm-buffer-switch-other-window)
(define-key map (kbd "C-c C-o") 'helm-buffer-switch-other-frame)
(define-key map (kbd "C-c =") 'helm-buffer-run-ediff)
Expand Down
1 change: 1 addition & 0 deletions helm-files.el
Expand Up @@ -223,6 +223,7 @@ This happen only in `helm-find-files'."
(set-keymap-parent map helm-map)
(define-key map (kbd "C-]") 'helm-ff-run-toggle-basename)
(define-key map (kbd "C-x C-f") 'helm-ff-run-locate)
(define-key map (kbd "C-s") 'helm-ff-run-grep)
(define-key map (kbd "M-g s") 'helm-ff-run-grep)
(define-key map (kbd "M-g p") 'helm-ff-run-pdfgrep)
(define-key map (kbd "M-g z") 'helm-ff-run-zgrep)
Expand Down
1 change: 1 addition & 0 deletions helm-locate.el
Expand Up @@ -69,6 +69,7 @@ The \"-r\" option must be the last option."
(let ((map (make-sparse-keymap)))
(set-keymap-parent map helm-map)
(define-key map (kbd "C-]") 'helm-ff-run-toggle-basename)
(define-key map (kbd "C-s") 'helm-ff-run-grep)
(define-key map (kbd "M-g s") 'helm-ff-run-grep)
(define-key map (kbd "M-g z") 'helm-ff-run-zgrep)
(define-key map (kbd "M-g p") 'helm-ff-run-pdfgrep)
Expand Down

0 comments on commit cec8359

Please sign in to comment.