From: Juri Linkov Date: Wed, 23 Jul 2008 23:53:34 +0000 (+0000) Subject: (ibuffer-mode-map): Bind "M-s a C-s" to X-Git-Tag: emacs-pretest-23.0.90~3939 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=78176075a0c492efec40b13d9de79868edf3b29a;p=emacs.git (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. --- diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el index cfbd1df4cdd..8626e692162 100644 --- a/lisp/ibuffer.el +++ b/lisp/ibuffer.el @@ -410,6 +410,8 @@ directory, like `default-directory'." (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 @@ Operations on marked buffers: '\\[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.