changeset 96956:a6f40f87513a

(ibuffer-mode-map): Bind "M-s a C-s" to `ibuffer-do-isearch' and "M-s a M-C-s" to `ibuffer-do-isearch-regexp'. (ibuffer-mode): Document new commands in docstring.
author Juri Linkov <juri@jurta.org>
date Wed, 23 Jul 2008 23:53:34 +0000
parents 57fc87925078
children b4a078aa9b15
files lisp/ibuffer.el
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ibuffer.el	Wed Jul 23 23:53:03 2008 +0000
+++ b/lisp/ibuffer.el	Wed Jul 23 23:53:34 2008 +0000
@@ -410,6 +410,8 @@
     (define-key map (kbd "=") 'ibuffer-diff-with-file)
     (define-key map (kbd "j") 'ibuffer-jump-to-buffer)
     (define-key map (kbd "M-g") 'ibuffer-jump-to-buffer)
+    (define-key map (kbd "M-s a C-s") 'ibuffer-do-isearch)
+    (define-key map (kbd "M-s a M-C-s") 'ibuffer-do-isearch-regexp)
     (define-key map (kbd "DEL") 'ibuffer-unmark-backward)
     (define-key map (kbd "M-DEL") 'ibuffer-unmark-all)
     (define-key map (kbd "* *") 'ibuffer-unmark-all)
@@ -2376,6 +2378,8 @@
   '\\[ibuffer-do-revert]' - Revert the marked buffers.
   '\\[ibuffer-do-toggle-read-only]' - Toggle read-only state of marked buffers.
   '\\[ibuffer-do-delete]' - Kill the marked buffers.
+  '\\[ibuffer-do-isearch]' - Do incremental search in the marked buffers.
+  '\\[ibuffer-do-isearch-regexp]' - Isearch for regexp in the marked buffers.
   '\\[ibuffer-do-replace-regexp]' - Replace by regexp in each of the marked
           buffers.
   '\\[ibuffer-do-query-replace]' - Query replace in each of the marked buffers.